org.apache.cassandra.net.io
Class ProtocolHeaderState

java.lang.Object
  extended by org.apache.cassandra.net.io.StartState
      extended by org.apache.cassandra.net.io.ProtocolHeaderState

public class ProtocolHeaderState
extends StartState


Field Summary
 
Fields inherited from class org.apache.cassandra.net.io.StartState
stream_
 
Constructor Summary
ProtocolHeaderState(TcpReader stream)
           
 
Method Summary
 void morphState()
           
 byte[] read()
           
 void setContextData(java.lang.Object data)
           
 
Methods inherited from class org.apache.cassandra.net.io.StartState
doRead
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtocolHeaderState

public ProtocolHeaderState(TcpReader stream)
Method Detail

read

public byte[] read()
            throws java.io.IOException,
                   ReadNotCompleteException
Specified by:
read in class StartState
Throws:
java.io.IOException
ReadNotCompleteException

morphState

public void morphState()
                throws java.io.IOException
Specified by:
morphState in class StartState
Throws:
java.io.IOException

setContextData

public void setContextData(java.lang.Object data)
Specified by:
setContextData in class StartState


Copyright © 2009 The Apache Software Foundation