Class Seti.LocalLocation

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected LocalLocation​(java.lang.String userId, ServerSession session)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      void receive​(java.lang.String toUser, java.lang.String toChannel, java.lang.Object data)  
      void removed​(ServerSession session, ServerMessage message, boolean timeout)
      Callback invoked when the session is removed.
      void send​(java.lang.String toUser, java.lang.String toChannel, java.lang.Object data)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • LocalLocation

        protected LocalLocation​(java.lang.String userId,
                                ServerSession session)
    • Method Detail

      • send

        public void send​(java.lang.String toUser,
                         java.lang.String toChannel,
                         java.lang.Object data)
        Specified by:
        send in interface Seti.Location
      • receive

        public void receive​(java.lang.String toUser,
                            java.lang.String toChannel,
                            java.lang.Object data)
        Specified by:
        receive in interface Seti.Location
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface Seti.Location
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface Seti.Location
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object