Package | Description |
---|---|
ca.uhn.hl7v2.protocol | |
ca.uhn.hl7v2.protocol.impl |
Modifier and Type | Method and Description |
---|---|
void |
TransportLayer.connect()
Initializes a connection to the remote server.
|
void |
StreamSource.connect()
Gets new streams.
|
void |
TransportLayer.disconnect()
Drops any existing connection to the remote server.
|
void |
StreamSource.disconnect()
Closes streams and underlying connections.
|
InputStream |
StreamSource.getInboundStream() |
OutputStream |
StreamSource.getOutboundStream() |
Transportable |
TransportLayer.receive()
Gets the next message from the remote system.
|
void |
TransportLayer.send(Transportable theMessage)
Sends a message to a remote HL7 service.
|
Modifier and Type | Method and Description |
---|---|
Processor |
HL7Server.accept(String theAddress)
Accepts a single inbound connection if the same ServerSocket is used for
all message exchanges, or a connection from each if two ServerSockets are
being used.
|
void |
ServerSocketStreamSource.connect()
Accepts new connections on underlying ServerSocket, replacing
any existing socket with the new one, blocking until a connection
is available.
|
void |
ClientSocketStreamSource.connect()
Gets fresh instances of sockets.
|
abstract void |
SocketStreamSource.connect()
Gets fresh instance of socket, which is subsequently available
from
getSocket() . |
void |
AbstractTransport.connect()
Sets isConnected() to false, then calls doConnect(), then sets isConnected() to
true.
|
void |
DualTransportConnector.connect()
Connects both
TransportLayer s in separate threads,
and returns when both have been connected, or when cancelConnect()
is called. |
void |
SocketStreamSource.disconnect()
Closes streams and underlying socket.
|
void |
AbstractTransport.disconnect() |
void |
DualTransportConnector.disconnect() |
void |
URLTransport.doConnect()
Calls openConnection() on the underlying URL and configures the connection,
if this transport is configured to connect when connect() is called (see
constructor params).
|
void |
JMSTransport.doConnect() |
void |
JMSQueueTransport.doConnect() |
void |
JMSTopicTransport.doConnect() |
abstract void |
AbstractTransport.doConnect()
Performs connection as described in TransportLayer.connect().
|
void |
MLLPTransport.doConnect() |
void |
URLTransport.doDisconnect() |
void |
JMSTransport.doDisconnect() |
void |
JMSQueueTransport.doDisconnect() |
void |
JMSTopicTransport.doDisconnect() |
abstract void |
AbstractTransport.doDisconnect()
Performs disconnection as described in TransportLayer.disconnect().
|
void |
MLLPTransport.doDisconnect() |
Transportable |
URLTransport.doReceive() |
Transportable |
JMSTransport.doReceive() |
Transportable |
AbstractJMSTransport.doReceive() |
abstract Transportable |
AbstractTransport.doReceive()
Called by receive(), which then adds common metadata.
|
Transportable |
MLLPTransport.doReceive() |
void |
URLTransport.doSend(Transportable theMessage)
Writes the given message to the URL.
|
void |
JMSTransport.doSend(Transportable theMessage) |
void |
AbstractJMSTransport.doSend(Transportable theMessage) |
abstract void |
AbstractTransport.doSend(Transportable theMessage)
The method send() delegates to this method after checking whether we are
connected.
|
void |
MLLPTransport.doSend(Transportable theMessage) |
InputStream |
SocketStreamSource.getInboundStream() |
OutputStream |
SocketStreamSource.getOutboundStream() |
Transportable |
AbstractTransport.receive()
Delegates to
doReceive() and adds common metadata
to the resulting Transportable before it is returned. |
void |
AbstractTransport.send(Transportable theMessage)
Delegates to
doSend() after checking that we are connected. |
protected javax.jms.Message |
JMSTransport.toMessage(Transportable theSource)
Fills a JMS message object with text and metadata from the given
Transportable . |
protected javax.jms.Message |
AbstractJMSTransport.toMessage(Transportable theSource)
Fills a JMS message object with text and metadata from the given
Transportable . |
protected Transportable |
JMSTransport.toTransportable(javax.jms.Message theMessage)
Copies data from the given Message into a Transportable.
|
protected Transportable |
AbstractJMSTransport.toTransportable(javax.jms.Message theMessage)
Copies data from the given Message into a Transportable.
|
Constructor and Description |
---|
ClientSocketStreamSource(SocketAddress theAddress) |
MLLPTransport(StreamSource theStreamSource) |
ServerSocketStreamSource(ServerSocket theServerSocket,
String theExpectedAddress) |
Copyright © 2001–2017 University Health Network. All rights reserved.