public final class CDORemoteSessionMessage
extends java.lang.Object
remote session
.Modifier and Type | Class and Description |
---|---|
static class |
CDORemoteSessionMessage.Priority
Enumerates the possible
remote session message priorities. |
Constructor and Description |
---|
CDORemoteSessionMessage(ExtendedDataInput in) |
CDORemoteSessionMessage(java.lang.String type) |
CDORemoteSessionMessage(java.lang.String type,
byte[] data) |
CDORemoteSessionMessage(java.lang.String type,
CDORemoteSessionMessage.Priority priority) |
CDORemoteSessionMessage(java.lang.String type,
CDORemoteSessionMessage.Priority priority,
byte[] data) |
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.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.
|
java.lang.String |
toString() |
void |
write(ExtendedDataOutput out) |
public CDORemoteSessionMessage(java.lang.String type, CDORemoteSessionMessage.Priority priority, byte[] data)
public CDORemoteSessionMessage(java.lang.String type, CDORemoteSessionMessage.Priority priority)
public CDORemoteSessionMessage(java.lang.String type, byte[] data)
public CDORemoteSessionMessage(java.lang.String type)
public CDORemoteSessionMessage(ExtendedDataInput in) throws java.io.IOException
java.io.IOException
public void write(ExtendedDataOutput out) throws java.io.IOException
java.io.IOException
public java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html