Class Seti.LocalLocation

java.lang.Object
org.cometd.oort.Seti.LocalLocation
All Implemented Interfaces:
EventListener, org.cometd.bayeux.Bayeux.BayeuxListener, org.cometd.bayeux.server.ServerSession.RemovedListener, org.cometd.bayeux.server.ServerSession.ServerSessionListener, Seti.Location
Enclosing class:
Seti

protected class Seti.LocalLocation extends Object implements Seti.Location, org.cometd.bayeux.server.ServerSession.RemovedListener

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

  • Constructor Details

    • LocalLocation

      protected LocalLocation(String userId, org.cometd.bayeux.server.ServerSession session)
  • Method Details

    • send

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

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

      public void removed(org.cometd.bayeux.server.ServerSession session, org.cometd.bayeux.server.ServerMessage message, boolean timeout)
      Specified by:
      removed in interface org.cometd.bayeux.server.ServerSession.RemovedListener
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object