|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjgnash.message.Message
public class Message
Message object
| Field Summary | |
|---|---|
private MessageChannel |
channel
|
private ChannelEvent |
event
|
private java.util.EnumMap<MessageProperty,StoredObject> |
properties
|
private boolean |
remote
Used to flag message sent remotely |
private static long |
serialVersionUID
|
private java.lang.String |
source
|
| Constructor Summary | |
|---|---|
|
Message()
Deprecated. |
|
Message(MessageChannel channel,
ChannelEvent event,
Engine source)
|
private |
Message(MessageChannel channel,
ChannelEvent event,
java.lang.String source)
|
| Method Summary | |
|---|---|
Message |
clone()
|
MessageChannel |
getChannel()
|
ChannelEvent |
getEvent()
|
java.lang.Object |
getObject(MessageProperty key)
|
java.lang.String |
getSource()
|
boolean |
isRemote()
|
private void |
readObject(java.io.ObjectInputStream s)
Read a Message from an ObjectInputStream |
void |
setObject(MessageProperty key,
StoredObject value)
|
void |
setRemote(boolean remote)
|
private void |
writeObject(java.io.ObjectOutputStream s)
Write message out to ObjectOutputStream. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private ChannelEvent event
private MessageChannel channel
private java.lang.String source
private transient java.util.EnumMap<MessageProperty,StoredObject> properties
private transient boolean remote
| Constructor Detail |
|---|
@Deprecated public Message()
public Message(MessageChannel channel,
ChannelEvent event,
Engine source)
private Message(MessageChannel channel,
ChannelEvent event,
java.lang.String source)
| Method Detail |
|---|
public MessageChannel getChannel()
public ChannelEvent getEvent()
public void setObject(MessageProperty key,
StoredObject value)
public java.lang.Object getObject(MessageProperty key)
public java.lang.String getSource()
public void setRemote(boolean remote)
public boolean isRemote()
private void writeObject(java.io.ObjectOutputStream s)
throws java.io.IOException
s - stream
java.io.IOException - io exception
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
s - input stream
java.io.IOException - io exception
java.lang.ClassNotFoundException - thrown is class is not foundpublic Message clone()
clone in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||