Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Conduits provide the basis for outgoing message sending. A Conduit is created from a ConduitInitiator. Sending a message is a multistep pocess:

  1. Call conduit.sendprepare(message): this starts the message sending. At this point a Conduit may initiate a connection and set the OutputStream for the outgoing message.
  2. Writing of the actual message to the OutputStream
  3. Call to conduit.close(message): this closes and disposes of any existing resources for the message sending.
    A message sender may also register a MessageObserver with the Conduit. If the Conduit is synchronous, the MessageObserver will be notified once a response has been received.

...