Interface SelfManagedTransport<S,​R>

  • Type Parameters:
    S - The cached object to use for sending messages.
    R - The cached object to use for receiving messages.
    All Superinterfaces:
    ClientTransport<S>, Transport<S,​R>
    All Known Implementing Classes:
    MultiRegionTransport

    public interface SelfManagedTransport<S,​R>
    extends Transport<S,​R>
    Represents a transport that manages it's own thread/s for receiving messages.

    No threads for receiving messages are automatically created. As new messages arrive they should be passed to the MessageEmitter for proper routing.

    • Method Detail

      • setMessageEmitter

        void setMessageEmitter​(MessageEmitter manager)
        Sets the MessageEmitter.

        This should be held onto so that received messages can be routed into the platform.