|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tranche.servers.ServerEvent
org.tranche.servers.ServerMessageEvent
public class ServerMessageEvent
Used in server listeners to describe the communications between client and server.
| Field Summary |
|---|
| Fields inherited from class org.tranche.servers.ServerEvent |
|---|
AUTO_BAN, AUTO_UNBAN, CALLBACK, CONNECT, MESSAGE, USER_BAN, USER_UNBAN |
| Constructor Summary | |
|---|---|
ServerMessageEvent(java.lang.String url,
long callbackId)
|
|
| Method Summary | |
|---|---|
long |
getCallbackId()
Returns the callback ID assigned to this message. |
java.lang.String |
toString()
Returns a human-readable message that describes this event. |
| Methods inherited from class org.tranche.servers.ServerEvent |
|---|
getTimestamp, getType, getTypeString, getUrl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ServerMessageEvent(java.lang.String url,
long callbackId)
url - callbackId - | Method Detail |
|---|
public long getCallbackId()
Returns the callback ID assigned to this message.
public java.lang.String toString()
Returns a human-readable message that describes this event.
toString in class ServerEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||