Class NetworkMessageBus

  • Direct Known Subclasses:
    RPCMessageBus

    public class NetworkMessageBus
    extends java.lang.Object
    The combination of a messagebus and a network over which it may send data.
    Author:
    bratseth
    • Constructor Detail

      • NetworkMessageBus

        public NetworkMessageBus​(Network network,
                                 MessageBus messageBus)
    • Method Detail

      • getMessageBus

        public MessageBus getMessageBus()
        Returns the contained message bus object
      • getNetwork

        public Network getNetwork()
        Returns the network of this as a Network
      • destroy

        public boolean destroy()
        Irreversibly destroys the content of this.
        Returns:
        whether this destroyed anything, or if it was already destroyed