|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfulmine.event.AbstractEvent
fulmine.distribution.events.MessageEvent
public final class MessageEvent
Raised by an IConnection and encapsulates a byte[]
message received from a remote IFrameworkContext.
This implementation of an ISystemEvent can be raised by a non-
ISystemEventSource. This is so that an IEventListener for an
IContainer will not receive these events.
| Constructor Summary | |
|---|---|
MessageEvent(IConnection connection,
byte[] data)
Standard constructor to wrap the byte[] message from a
remote IFrameworkContext |
|
| Method Summary | |
|---|---|
protected String |
getAdditionalToString()
Delegate method for subclasses to provide additional toString information. |
byte[] |
getData()
Get the byte[] message from the remote context |
String |
getDataAsString()
Get the message from the remote context as a string |
String |
getTraceString()
Provides a trace string the shows the byte level contents of the data. |
| Methods inherited from class fulmine.event.AbstractEvent |
|---|
clone, equals, getAddress, getDomain, getDrivingFrame, getFrame, getIdentity, getSource, getTriggerEvent, getType, hashCode, hideSourceFromToString, setAddress, setDrivingFrame, setFrame, setSource, setTriggerEvent, toDetailedString, toIdentityString, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface fulmine.event.IEvent |
|---|
clone, getDrivingFrame, getFrame, getSource, getTriggerEvent, setTriggerEvent |
| Methods inherited from interface fulmine.IDescriptor |
|---|
toDetailedString, toIdentityString |
| Methods inherited from interface fulmine.IAddressable |
|---|
getAddress, getDomain, getIdentity, getType |
| Constructor Detail |
|---|
public MessageEvent(IConnection connection,
byte[] data)
byte[] message from a
remote IFrameworkContext
connection - the connection to the remote context, the source of the datadata - the byte[] message received from a remote context| Method Detail |
|---|
public byte[] getData()
byte[] message from the remote context
byte[] message from the remote contextpublic String getDataAsString()
public String getTraceString()
protected String getAdditionalToString()
AbstractEvent
getAdditionalToString in class AbstractEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||