com.threerings.crowd.chat.data
Class ChatChannel
java.lang.Object
com.threerings.io.SimpleStreamableObject
com.threerings.crowd.chat.data.ChatChannel
- All Implemented Interfaces:
- Streamable, DSet.Entry, Comparable<ChatChannel>
public abstract class ChatChannel
- extends SimpleStreamableObject
- implements Comparable<ChatChannel>, DSet.Entry
Represents a chat channel.
|
Method Summary |
abstract int |
compareTo(ChatChannel other)
|
boolean |
equals(Object other)
|
Comparable<?> |
getKey()
Each entry provide an associated key which is used to determine its uniqueness in the
set. |
abstract String |
getLockName()
Converts this channel into a unique name that can be used as the name of the distributed
lock used when resolving the channel. |
abstract int |
hashCode()
|
ChatChannel
public ChatChannel()
compareTo
public abstract int compareTo(ChatChannel other)
- Specified by:
compareTo in interface Comparable<ChatChannel>
getLockName
public abstract String getLockName()
- Converts this channel into a unique name that can be used as the name of the distributed
lock used when resolving the channel.
getKey
public Comparable<?> getKey()
- Description copied from interface:
DSet.Entry
- Each entry provide an associated key which is used to determine its uniqueness in the
set. See the
DSet class documentation for further information.
- Specified by:
getKey in interface DSet.Entry
equals
public boolean equals(Object other)
- Overrides:
equals in class Object
hashCode
public abstract int hashCode()
- Overrides:
hashCode in class Object