Interface MessageReceiver

All Superinterfaces:
OsidReceiver

public interface MessageReceiver extends OsidReceiver

The MessageReceiver is used to receive incoming connections. The receiver is provided to the service via the InboundMessageSession and invoked by the transport provider when a new association is created.

Like all OsidReceivers, notifications are delivered to MessageReceiver serially and a receiver method is not invoked again until any previous invocation has returned.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked by the transport provider when a new connection request or datagram is received.

    Methods inherited from interface OsidReceiver

    down, up
  • Method Details

    • dispatch

      void dispatch(OutboundMessageSession session)
      Invoked by the transport provider when a new connection request or datagram is received.
      Parameters:
      session - a session to send and receive messages
      Compliance:
      mandatory - This method must be implemented.