Package | Description |
---|---|
ca.uhn.hl7v2 | |
ca.uhn.hl7v2.app |
Modifier and Type | Method and Description |
---|---|
Connection |
DefaultHapiContext.newClient(String host,
int port,
boolean tls) |
Connection |
HapiContext.newClient(String host,
int port,
boolean tls)
Construct a new HL7 Client which will connect to an external TCP server for
the purpose of sending messages (and receiving responses).
|
Connection |
DefaultHapiContext.newClient(String host,
int outboundPort,
int inboundPort,
boolean tls) |
Connection |
HapiContext.newClient(String host,
int outboundPort,
int inboundPort,
boolean tls)
Construct a new HL7 two-port client which will connect to an external TCP server for
the purpose of sending messages (and receiving responses).
|
Connection |
DefaultHapiContext.newLazyClient(String host,
int port,
boolean tls) |
Connection |
HapiContext.newLazyClient(String host,
int port,
boolean tls)
Construct a new HL7 Client which will connect to an external TCP server for
the purpose of sending messages (and receiving responses).
|
Connection |
DefaultHapiContext.newLazyClient(String host,
int outboundPort,
int inboundPort,
boolean tls) |
Connection |
HapiContext.newLazyClient(String host,
int outboundPort,
int inboundPort,
boolean tls)
Construct a new HL7 two-port client which will connect to an external TCP server for
the purpose of sending messages (and receiving responses).
|
Modifier and Type | Class and Description |
---|---|
class |
ActiveConnection
A TCP/IP connection to a remote HL7 server.
|
class |
LazyConnection
A LazyConnection behaves like an ordinary connection except for the fact
that the actual socket connection is created lazily right before the
first message is sent over the associated Initiator.
|
Modifier and Type | Method and Description |
---|---|
Connection |
ConnectionHub.attach(ca.uhn.hl7v2.app.ConnectionData data) |
Connection |
ConnectionHub.attach(DefaultHapiContext hapiContext,
String host,
int port,
boolean tls) |
Connection |
ConnectionHub.attach(DefaultHapiContext hapiContext,
String host,
int outboundPort,
int inboundPort,
boolean tls) |
Connection |
ConnectionHub.attach(String host,
int port,
boolean tls)
Returns a Connection to the given address, opening this Connection if necessary.
|
Connection |
ConnectionHub.attach(String host,
int outboundPort,
int inboundPort,
boolean tls) |
Connection |
ConnectionHub.attach(String host,
int outboundPort,
int inboundPort,
Parser parser,
Class<? extends LowerLayerProtocol> llpClass) |
Connection |
ConnectionHub.attach(String host,
int outboundPort,
int inboundPort,
Parser parser,
Class<? extends LowerLayerProtocol> llpClass,
boolean tls) |
Connection |
ConnectionHub.attach(String host,
int outboundPort,
int inboundPort,
Parser parser,
LowerLayerProtocol llp,
boolean tls) |
Connection |
ConnectionHub.attach(String host,
int outboundPort,
int inboundPort,
Parser parser,
LowerLayerProtocol llp,
boolean tls,
SocketFactory socketFactory) |
Connection |
ConnectionHub.attach(String host,
int port,
Parser parser,
Class<? extends LowerLayerProtocol> llpClass) |
Connection |
ConnectionHub.attach(String host,
int port,
Parser parser,
Class<? extends LowerLayerProtocol> llpClass,
boolean tls) |
Connection |
ConnectionHub.attach(String host,
int port,
Parser parser,
LowerLayerProtocol llp) |
Connection |
ConnectionHub.attach(String host,
int port,
Parser parser,
LowerLayerProtocol llp,
boolean tls) |
Connection |
ConnectionHub.attach(String host,
int port,
Parser parser,
LowerLayerProtocol llp,
boolean tls,
SocketFactory socketFactory) |
Connection |
ConnectionHub.attachLazily(DefaultHapiContext hapiContext,
String host,
int port,
boolean tls) |
Connection |
ConnectionHub.attachLazily(DefaultHapiContext hapiContext,
String host,
int outboundPort,
int inboundPort,
boolean tls) |
Connection |
ConnectionHub.attachLazily(String host,
int port,
boolean tls)
Returns a Connection to the given address, opening this Connection if necessary.
|
Connection |
ConnectionHub.attachLazily(String host,
int outboundPort,
int inboundPort,
boolean tls) |
Connection |
ConnectionHub.attachLazily(String host,
int outboundPort,
int inboundPort,
Parser parser,
Class<? extends LowerLayerProtocol> llpClass) |
Connection |
ConnectionHub.attachLazily(String host,
int outboundPort,
int inboundPort,
Parser parser,
Class<? extends LowerLayerProtocol> llpClass,
boolean tls) |
Connection |
ConnectionHub.attachLazily(String host,
int outboundPort,
int inboundPort,
Parser parser,
LowerLayerProtocol llp,
boolean tls) |
Connection |
ConnectionHub.attachLazily(String host,
int outboundPort,
int inboundPort,
Parser parser,
LowerLayerProtocol llp,
boolean tls,
SocketFactory socketFactory) |
Connection |
ConnectionHub.attachLazily(String host,
int port,
Parser parser,
LowerLayerProtocol llp) |
Connection |
ConnectionHub.attachLazily(String host,
int port,
Parser parser,
LowerLayerProtocol llp,
boolean tls) |
Connection |
ConnectionHub.attachLazily(String host,
int port,
Parser parser,
LowerLayerProtocol llp,
boolean tls,
SocketFactory socketFactory) |
Connection |
ConnectionHub.getKnownConnection(ca.uhn.hl7v2.app.ConnectionData key) |
Connection |
HL7Service.getRemoteConnection(String ipAddress)
Returns a connection to a remote host that was initiated by the given
remote host.
|
Modifier and Type | Method and Description |
---|---|
List<Connection> |
HL7Service.getRemoteConnections()
Returns all currently active connections.
|
Modifier and Type | Method and Description |
---|---|
void |
ConnectionListener.connectionDiscarded(Connection c)
Notifies the listener that a new connection is closed and is being discarded.
|
void |
ConnectionListener.connectionReceived(Connection c)
Notifies the listener that a new connection has been opened.
|
void |
ConnectionHub.detach(Connection c)
Informs the ConnectionHub that you are done with the given Connection - if no other code is
using it, it will be closed, so you should not attempt to use a Connection after detaching
from it.
|
void |
ConnectionHub.discard(Connection c)
Closes and discards the given Connection so that it can not be returned in subsequent calls
to attach().
|
Copyright © 2001–2017 University Health Network. All rights reserved.