StreamMessage.Serializer (apache-cassandra API)
Date: 2014-10-21

org.apache.cassandra.streaming.messages

## Interface StreamMessage.Serializer<V extends StreamMessage>

- Enclosing class:
    StreamMessage

      public static interface StreamMessage.Serializer<V extends StreamMessage>

  StreamMessage serializer

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `V` | `deserialize(java.nio.channels.ReadableByteChannel in, int version, StreamSession session)`
    `void` | `serialize(V message, DataOutputStreamAndChannel out, int version, StreamSession session)`

- - ### Method Detail

    - #### deserialize

          V deserialize(java.nio.channels.ReadableByteChannel in,
                      int version,
                      StreamSession session)
                                              throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### serialize

          void serialize(V message,
                       DataOutputStreamAndChannel out,
                       int version,
                       StreamSession session)
                         throws java.io.IOException

      Throws:
        `java.io.IOException`

Copyright © 2014 The Apache Software Foundation