org.apache.cassandra.transport
Class Message
java.lang.Object
org.apache.cassandra.transport.Message
- Direct Known Subclasses:
- Message.Request, Message.Response
public abstract class Message
- extends java.lang.Object
A message from the CQL binary protocol.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final org.slf4j.Logger logger
type
public final Message.Type type
connection
protected volatile Connection connection
Message
protected Message(Message.Type type)
attach
public void attach(Connection connection)
connection
public Connection connection()
setStreamId
public Message setStreamId(int streamId)
getStreamId
public int getStreamId()
encode
public abstract org.jboss.netty.buffer.ChannelBuffer encode()
Copyright © 2012 The Apache Software Foundation