|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.jetrix.Message
public abstract class Message
Internal message sent between server, channels and client handlers.
| Constructor Summary | |
|---|---|
Message()
Constructs a new server message. |
|
| Method Summary | |
|---|---|
Destination |
getDestination()
Return the destination of this message. |
String |
getRawMessage(Protocol protocol,
Locale locale)
Return the view of this message in the specified protocol. |
Destination |
getSource()
Return the source of this message. |
long |
getTime()
Returns the creation date of this message. |
void |
setDestination(Destination destination)
Set the destination of this message (optional). |
void |
setRawMessage(Protocol protocol,
String message)
Set the view of the message in the specified protocol. |
void |
setSource(Destination source)
Set the source of this message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Message()
| Method Detail |
|---|
public Destination getSource()
public void setSource(Destination source)
public Destination getDestination()
public void setDestination(Destination destination)
public long getTime()
public void setRawMessage(Protocol protocol,
String message)
public String getRawMessage(Protocol protocol,
Locale locale)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||