public class JavaMessageSerializer extends Object implements MessageSerializer
| Constructor and Description |
|---|
JavaMessageSerializer() |
| Modifier and Type | Method and Description |
|---|---|
protected ObjectInput |
createObjectInput(BasicRuntime runtime,
InputStream in) |
protected ObjectOutput |
createObjectOutput(BasicRuntime runtime,
OutputStream outputStream) |
Message |
deserializeMessage(BasicRuntime runtime,
byte[] payload) |
byte[] |
serializeMessage(BasicRuntime runtime,
Message message) |
public Message deserializeMessage(BasicRuntime runtime, byte[] payload) throws Exception
deserializeMessage in interface MessageSerializerExceptionpublic byte[] serializeMessage(BasicRuntime runtime, Message message) throws Exception
serializeMessage in interface MessageSerializerExceptionprotected ObjectOutput createObjectOutput(BasicRuntime runtime, OutputStream outputStream) throws IOException
IOExceptionprotected ObjectInput createObjectInput(BasicRuntime runtime, InputStream in) throws IOException
IOExceptionCopyright © 2019 Electronic Arts Inc. All rights reserved.