Uses of Class
ca.uhn.hl7v2.protocol.TransportException
Packages that use TransportException
-
Uses of TransportException in ca.uhn.hl7v2.protocol
Methods in ca.uhn.hl7v2.protocol that throw TransportExceptionModifier and TypeMethodDescriptionvoidStreamSource.connect()Gets new streams.voidTransportLayer.connect()Initializes a connection to the remote server.voidStreamSource.disconnect()Closes streams and underlying connections.voidTransportLayer.disconnect()Drops any existing connection to the remote server.StreamSource.getInboundStream()StreamSource.getOutboundStream()TransportLayer.receive()Gets the next message from the remote system.voidTransportLayer.send(Transportable theMessage) Sends a message to a remote HL7 service. -
Uses of TransportException in ca.uhn.hl7v2.protocol.impl
Methods in ca.uhn.hl7v2.protocol.impl that throw TransportExceptionModifier and TypeMethodDescriptionAccepts 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.voidAbstractTransport.connect()Sets isConnected() to false, then calls doConnect(), then sets isConnected() to true.voidClientSocketStreamSource.connect()Gets fresh instances of sockets.voidDualTransportConnector.connect()Connects bothTransportLayers in separate threads, and returns when both have been connected, or when cancelConnect() is called.abstract voidSocketStreamSource.connect()Gets fresh instance of socket, which is subsequently available fromgetSocket().voidAbstractTransport.disconnect()voidDualTransportConnector.disconnect()voidSocketStreamSource.disconnect()Closes streams and underlying socket.abstract voidAbstractTransport.doConnect()Performs connection as described in TransportLayer.connect().voidJMSQueueTransport.doConnect()voidJMSTopicTransport.doConnect()voidJMSTransport.doConnect()voidMLLPTransport.doConnect()voidURLTransport.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).abstract voidAbstractTransport.doDisconnect()Performs disconnection as described in TransportLayer.disconnect().voidJMSQueueTransport.doDisconnect()voidJMSTopicTransport.doDisconnect()voidJMSTransport.doDisconnect()voidMLLPTransport.doDisconnect()AbstractJMSTransport.doReceive()abstract TransportableAbstractTransport.doReceive()Called by receive(), which then adds common metadata.JMSTransport.doReceive()MLLPTransport.doReceive()URLTransport.doReceive()voidAbstractJMSTransport.doSend(Transportable theMessage) abstract voidAbstractTransport.doSend(Transportable theMessage) The method send() delegates to this method after checking whether we are connected.voidJMSTransport.doSend(Transportable theMessage) voidMLLPTransport.doSend(Transportable theMessage) voidURLTransport.doSend(Transportable theMessage) Writes the given message to the URL.SocketStreamSource.getInboundStream()SocketStreamSource.getOutboundStream()AbstractTransport.receive()Delegates todoReceive()and adds common metadata to the resultingTransportablebefore it is returned.voidAbstractTransport.send(Transportable theMessage) Delegates todoSend()after checking that we are connected.protected javax.jms.MessageAbstractJMSTransport.toMessage(Transportable theSource) Fills a JMS message object with text and metadata from the givenTransportable.protected javax.jms.MessageJMSTransport.toMessage(Transportable theSource) Fills a JMS message object with text and metadata from the givenTransportable.protected TransportableAbstractJMSTransport.toTransportable(javax.jms.Message theMessage) Copies data from the given Message into a Transportable.protected TransportableJMSTransport.toTransportable(javax.jms.Message theMessage) Copies data from the given Message into a Transportable.Constructors in ca.uhn.hl7v2.protocol.impl that throw TransportException