|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.cdo.session.remote.CDORemoteSessionMessage
A message from a remote session
.
Nested Class Summary | |
---|---|
static class |
CDORemoteSessionMessage.Priority
Enumerates the possible remote session message priorities. |
Constructor Summary | |
---|---|
CDORemoteSessionMessage(ExtendedDataInput in)
|
|
CDORemoteSessionMessage(String type)
|
|
CDORemoteSessionMessage(String type,
byte[] data)
|
|
CDORemoteSessionMessage(String type,
CDORemoteSessionMessage.Priority priority)
|
|
CDORemoteSessionMessage(String type,
CDORemoteSessionMessage.Priority priority,
byte[] data)
|
Method Summary | |
---|---|
byte[] |
getData()
Returns a copy of this message's data as a byte array. |
ExtendedDataInputStream |
getInputStream()
Returns a copy of this message's data as an extended input stream. |
ExtendedDataOutputStream |
getOutputStream()
Sets the data of this message as an extended output stream. |
CDORemoteSessionMessage.Priority |
getPriority()
Returns the priority of this message. |
String |
getType()
Returns the type of this message that enables message handlers to decide whether to react on this
message or not. |
void |
setData(byte[] data)
Sets the data of this message as a byte array. |
String |
toString()
|
void |
write(ExtendedDataOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CDORemoteSessionMessage(String type, CDORemoteSessionMessage.Priority priority, byte[] data)
public CDORemoteSessionMessage(String type, CDORemoteSessionMessage.Priority priority)
public CDORemoteSessionMessage(String type, byte[] data)
public CDORemoteSessionMessage(String type)
public CDORemoteSessionMessage(ExtendedDataInput in) throws IOException
IOException
Method Detail |
---|
public void write(ExtendedDataOutput out) throws IOException
IOException
public String getType()
message handlers
to decide whether to react on this
message or not.
null
.public CDORemoteSessionMessage.Priority getPriority()
null
.public byte[] getData()
public void setData(byte[] data)
public ExtendedDataInputStream getInputStream()
public ExtendedDataOutputStream getOutputStream()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |