Class Seti.SetiLocation

  • All Implemented Interfaces:
    Seti.Location
    Enclosing class:
    Seti

    protected class Seti.SetiLocation
    extends java.lang.Object
    implements Seti.Location

    A Location that represent a user connected to a remote comet.

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected SetiLocation​(java.lang.String userId, java.lang.String oortURL)  
    • 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 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

      • SetiLocation

        protected SetiLocation​(java.lang.String userId,
                               java.lang.String oortURL)
    • 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