protected class Seti.LocalLocation extends Object implements Seti.Location, org.cometd.bayeux.server.ServerSession.RemoveListener
A Location that represent a user connected to a local comet.
Modifier | Constructor and Description |
---|---|
protected |
LocalLocation(String userId,
org.cometd.bayeux.server.ServerSession session) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
void |
receive(String toUser,
String toChannel,
Object data) |
void |
removed(org.cometd.bayeux.server.ServerSession session,
boolean timeout) |
void |
send(String toUser,
String toChannel,
Object data) |
String |
toString() |
protected LocalLocation(String userId, org.cometd.bayeux.server.ServerSession session)
public void send(String toUser, String toChannel, Object data)
send
in interface Seti.Location
public void receive(String toUser, String toChannel, Object data)
receive
in interface Seti.Location
public void removed(org.cometd.bayeux.server.ServerSession session, boolean timeout)
removed
in interface org.cometd.bayeux.server.ServerSession.RemoveListener
public boolean equals(Object obj)
equals
in interface Seti.Location
equals
in class Object
public int hashCode()
hashCode
in interface Seti.Location
hashCode
in class Object
Copyright © 2008–2017 The CometD Project. All rights reserved.