Interface IRemote

    • Method Detail

      • addConnectionListener

        void addConnectionListener​(IRemoteConnectionListener listener,
                                   boolean immediateNotify)
        Deprecated.
        Register an object to listen for connection and disconnection events
        Parameters:
        listener - the listener to be register
        immediateNotify - if the listener object should be notified of the current connection state
      • removeConnectionListener

        void removeConnectionListener​(IRemoteConnectionListener listener)
        Deprecated.
        Unregister a listener from connection events
        Parameters:
        listener - the listener to be unregistered
      • isConnected

        boolean isConnected()
        Deprecated.
        Get the current state of the objects connection
        Returns:
        the current connection state
      • isServer

        boolean isServer()
        Deprecated.
        If the object is acting as a server
        Returns:
        if the object is a server