Class SimpleNetwork

    • Constructor Detail

      • SimpleNetwork

        public SimpleNetwork()
        Creates a new network component.
    • Method Detail

      • isRunning

        public boolean isRunning()
        Tests if the network component is alive.
        Returns:
        true if this MessageConsumer is alive; false otherwise.
      • toString

        public String toString()
        Returns a string representation of this consumer, including the daemon's name and status.
        Specified by:
        toString in interface NetworkMBean
        Overrides:
        toString in class Network
        Returns:
        A string representation of this consumer.