Class Seti.LocalLocation
java.lang.Object
org.cometd.oort.Seti.LocalLocation
- All Implemented Interfaces:
EventListener
,Bayeux.BayeuxListener
,ServerSession.RemovedListener
,ServerSession.ServerSessionListener
,Seti.Location
- Enclosing class:
Seti
protected class Seti.LocalLocation
extends Object
implements Seti.Location, ServerSession.RemovedListener
A Location that represent a user connected to a local comet.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
void
void
removed
(ServerSession session, ServerMessage message, boolean timeout) Callback invoked when the session is removed.void
toString()
-
Constructor Details
-
LocalLocation
-
-
Method Details
-
send
- Specified by:
send
in interfaceSeti.Location
-
receive
- Specified by:
receive
in interfaceSeti.Location
-
removed
Description copied from interface:ServerSession.RemovedListener
Callback invoked when the session is removed.
- Specified by:
removed
in interfaceServerSession.RemovedListener
- Parameters:
session
- the removed sessionmessage
- the message that caused the session removal, or nulltimeout
- whether the session has been removed due to a timeout
-
equals
- Specified by:
equals
in interfaceSeti.Location
- Overrides:
equals
in classObject
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceSeti.Location
- Overrides:
hashCode
in classObject
-
toString
-