Class ConnectedEvent

  • All Implemented Interfaces:
    IEvent

    public final class ConnectedEvent
    extends Object
    Event occurring when bot gets connected to server
    • Constructor Summary

      Constructors 
      Constructor Description
      ConnectedEvent​(URI serverUri)
      Initializes a new instance of the ConnectedEvent class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      URI getServerUri()
      Return the URI of the server.
      • Methods inherited from class Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConnectedEvent

        public ConnectedEvent​(URI serverUri)
        Initializes a new instance of the ConnectedEvent class.
        Parameters:
        serverUri - is the URI of the server.
    • Method Detail

      • getServerUri

        public URI getServerUri()
        Return the URI of the server.
        Returns:
        the URI of the server.