Class ConnectedEvent

  • All Implemented Interfaces:
    IEvent

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

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

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

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

      • ConnectedEvent

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

      • getServerUri

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