Uses of Interface
ca.uhn.hl7v2.protocol.Transportable
Packages that use Transportable
-
Uses of Transportable in ca.uhn.hl7v2.protocol
Methods in ca.uhn.hl7v2.protocol that return TransportableModifier and TypeMethodDescriptionApplicationRouter.processMessage(Transportable theMessage) Attempts to route the given message to the associatedApplicationand obtain a response.Gets the message with the given acknowledgement ID from the incoming message list.TransportLayer.receive()Gets the next message from the remote system.SafeStorage.restore()Returns all messages that have been stored.Methods in ca.uhn.hl7v2.protocol with parameters of type TransportableModifier and TypeMethodDescriptionAcceptValidator.check(Transportable theMessage) Returns a ruling regarding whether the given message can be accepted for further processing (ie determines CE, CR, or CA for enhanced mode, and AR for original mode).voidSafeStorage.discard(Transportable theMessage) If the given message exists in the store, it is removed.ApplicationRouter.processMessage(Transportable theMessage) Attempts to route the given message to the associatedApplicationand obtain a response.voidProcessor.send(Transportable theMessage, int maxRetries, long retryIntervalMillis) Sends a message to a remote system via an underlyingTransportLayer.voidTransportLayer.send(Transportable theMessage) Sends a message to a remote HL7 service.voidSafeStorage.store(Transportable theMessage) Stores a message so that it can be reliably retrieved and sent to the proper application, even if this service is restarted in the mean time. -
Uses of Transportable in ca.uhn.hl7v2.protocol.impl
Classes in ca.uhn.hl7v2.protocol.impl that implement TransportableModifier and TypeClassDescriptionclassDefault implementation ofTransportable.Methods in ca.uhn.hl7v2.protocol.impl that return TransportableModifier and TypeMethodDescriptionAbstractJMSTransport.doReceive()abstract TransportableAbstractTransport.doReceive()Called by receive(), which then adds common metadata.JMSTransport.doReceive()MLLPTransport.doReceive()URLTransport.doReceive()AcceptAcknowledger.AcceptACK.getMessage()ApplicationRouterImpl.processMessage(Transportable theMessage) AbstractTransport.receive()Delegates todoReceive()and adds common metadata to the resultingTransportablebefore it is returned.NullSafeStorage.restore()Returns an empty array.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.Methods in ca.uhn.hl7v2.protocol.impl with parameters of type TransportableModifier and TypeMethodDescriptionvoidNullSafeStorage.discard(Transportable theMessage) Does nothing.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.ApplicationRouterImpl.processMessage(Transportable theMessage) voidAbstractTransport.send(Transportable theMessage) Delegates todoSend()after checking that we are connected.voidProcessorImpl.send(Transportable theMessage, int maxRetries, long retryIntervalMillis) voidNullSafeStorage.store(Transportable theMessage) Does nothing.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.static AcceptAcknowledger.AcceptACKAcceptAcknowledger.validate(ProcessorContext theContext, Transportable theMessage) Validates the given message against our accept validators, attempts to commit the message to safe storage, and returns an ACK message indicating acceptance or rejection at the accept level (see enhanced mode processing rules in HL7 chapter 2, v2.5).Constructors in ca.uhn.hl7v2.protocol.impl with parameters of type Transportable