Class NetworkMessageBus

java.lang.Object
com.yahoo.messagebus.NetworkMessageBus
Direct Known Subclasses:
RPCMessageBus

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

    • NetworkMessageBus

      public NetworkMessageBus(Network network, MessageBus messageBus)
  • Method Details

    • 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