org.objectweb.dream.serializator
Interface Serializator
- All Known Implementing Classes:
- SerializatorImpl
public interface Serializator
A serializator defines a method serialize
that takes a message
as parameter and returns a byte array representation of the message.
Method Summary |
byte[] |
serialize(Message message)
Serializes the given message and returns a byte array representation of the
message. |
ITF_NAME
static final String ITF_NAME
- The default name of the
Serializator
interface.
- See Also:
- Constant Field Values
serialize
byte[] serialize(Message message)
throws IOException
- Serializes the given message and returns a byte array representation of the
message.
- Parameters:
message
- the message to be serialized.
- Returns:
- a byte array representation of the message.
- Throws:
IOException
- if an exception occurs while serializing the message.
Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.