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,
InputStream inputStream) |
void |
serializeMessage(BasicRuntime runtime,
OutputStream outputStream,
Message message) |
public Message deserializeMessage(BasicRuntime runtime, InputStream inputStream) throws Exception
deserializeMessage in interface MessageSerializerExceptionpublic void serializeMessage(BasicRuntime runtime, OutputStream outputStream, 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 © 2016 Electronic Arts Inc. All rights reserved.