Package org.cometd.oort
Class Seti.SetiLocation
- java.lang.Object
-
- org.cometd.oort.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()
-
-
-
Method Detail
-
send
public void send(java.lang.String toUser, java.lang.String toChannel, java.lang.Object data)
- Specified by:
send
in interfaceSeti.Location
-
receive
public void receive(java.lang.String toUser, java.lang.String toChannel, java.lang.Object data)
- Specified by:
receive
in interfaceSeti.Location
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfaceSeti.Location
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceSeti.Location
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-