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