|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvoldemort.store.socket.clientrequest.AbstractClientRequest<java.lang.String>
voldemort.store.socket.clientrequest.ProtocolNegotiatorClientRequest
public class ProtocolNegotiatorClientRequest
Constructor Summary | |
---|---|
ProtocolNegotiatorClientRequest(RequestFormatType requestFormatType)
|
Method Summary | |
---|---|
protected void |
formatRequestInternal(java.io.DataOutputStream outputStream)
|
boolean |
isCompleteResponse(java.nio.ByteBuffer buffer)
isCompleteResponse determines if the response that the ClientRequestExecutor 's received thus far is inclusive of the
entire response. |
protected java.lang.String |
parseResponseInternal(java.io.DataInputStream inputStream)
|
Methods inherited from class voldemort.store.socket.clientrequest.AbstractClientRequest |
---|
complete, formatRequest, getResult, isComplete, isTimedOut, parseResponse, timeOut |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProtocolNegotiatorClientRequest(RequestFormatType requestFormatType)
Method Detail |
---|
public boolean isCompleteResponse(java.nio.ByteBuffer buffer)
ClientRequest
ClientRequestExecutor
's received thus far is inclusive of the
entire response. This relies on the RequestFormat
instance's
isCompleteXxxResponse methods.
This is used internally by the ClientRequest
logic and should not
be invoked by users of the sub-system.
buffer
- ByteBuffer containing the data received thus far
protected void formatRequestInternal(java.io.DataOutputStream outputStream) throws java.io.IOException
formatRequestInternal
in class AbstractClientRequest<java.lang.String>
java.io.IOException
protected java.lang.String parseResponseInternal(java.io.DataInputStream inputStream) throws java.io.IOException
parseResponseInternal
in class AbstractClientRequest<java.lang.String>
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |