com.datastax.cassandra.transport
Class Frame

java.lang.Object
  extended by com.datastax.cassandra.transport.Frame

public class Frame
extends Object


Nested Class Summary
static class Frame.Compressor
           
static class Frame.Decoder
           
static class Frame.Decompressor
           
static class Frame.Encoder
           
static class Frame.Header
           
 
Field Summary
 org.jboss.netty.buffer.ChannelBuffer body
           
 Connection connection
           
 Frame.Header header
           
 
Method Summary
static Frame create(org.jboss.netty.buffer.ChannelBuffer fullFrame, Connection connection)
           
static Frame create(Message.Type type, int streamId, EnumSet<Frame.Header.Flag> flags, org.jboss.netty.buffer.ChannelBuffer body, Connection connection)
           
 Frame with(org.jboss.netty.buffer.ChannelBuffer newBody)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

header

public final Frame.Header header

body

public final org.jboss.netty.buffer.ChannelBuffer body

connection

public final Connection connection
Method Detail

create

public static Frame create(org.jboss.netty.buffer.ChannelBuffer fullFrame,
                           Connection connection)

create

public static Frame create(Message.Type type,
                           int streamId,
                           EnumSet<Frame.Header.Flag> flags,
                           org.jboss.netty.buffer.ChannelBuffer body,
                           Connection connection)

with

public Frame with(org.jboss.netty.buffer.ChannelBuffer newBody)


Copyright © 2013. All Rights Reserved.