public class ParticipantMessageMarshaller extends Object implements Marshaller<ParticipantMessage>
| Constructor and Description |
|---|
ParticipantMessageMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
extractKey(ParticipantMessage data)
Extracts a key from given ParticipantMessage.
|
boolean |
hasKey()
ParticipantMessage data has always a key.
|
DataEncapsulation |
marshall(ParticipantMessage data)
Marshalls given Object to DataEncapsulation
|
ParticipantMessage |
unmarshall(DataEncapsulation dEnc)
Unmarshalls given DataEncapsulation to Object.
|
public boolean hasKey()
hasKey in interface Marshaller<ParticipantMessage>public byte[] extractKey(ParticipantMessage data)
extractKey in interface Marshaller<ParticipantMessage>data - Object that holds keypublic ParticipantMessage unmarshall(DataEncapsulation dEnc) throws IOException
Marshallerunmarshall in interface Marshaller<ParticipantMessage>dEnc - DataEncapsulationIOException - if a failure is detected during operationpublic DataEncapsulation marshall(ParticipantMessage data) throws IOException
Marshallermarshall in interface Marshaller<ParticipantMessage>data - An Object to marshallIOException - if a failure is detected during operationCopyright © 2016. All rights reserved.