Class Seti.LocalLocation

java.lang.Object
org.cometd.oort.Seti.LocalLocation
All Implemented Interfaces:
java.util.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 java.lang.Object
implements Seti.Location, org.cometd.bayeux.server.ServerSession.RemovedListener

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

  • Constructor Summary

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

    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​(org.cometd.bayeux.server.ServerSession session, org.cometd.bayeux.server.ServerMessage message, boolean timeout)  
    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 Details

    • LocalLocation

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

    • 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
    • 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​(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