Interface ProtocolMessageUnmarshaller<T>

Type Parameters:
T - The type of protocol message.

public interface ProtocolMessageUnmarshaller<T>
Defines an unmarshaller for deserializing protocol messages.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deserializes a message on the given input stream.
  • Method Details

    • unmarshal

      T unmarshal(InputStream is) throws IOException
      Deserializes a message on the given input stream.
      Parameters:
      is - an input stream
      Returns:
      deserialized message
      Throws:
      IOException - if the message could not be deserialized from the stream