public class ClientCnxnSocketNIO extends Object
Modifier and Type | Field and Description |
---|---|
protected ByteBuffer |
incomingBuffer
After the length is read, a new incomingBuffer is allocated in
readLength() to receive the full message.
|
protected boolean |
initialized |
protected long |
lastHeard |
protected long |
lastSend |
protected ByteBuffer |
lenBuffer
This buffer is only used to read the length of the incoming message.
|
protected long |
now |
protected long |
recvCount |
protected org.apache.zookeeper.ClientCnxn.SendThread |
sendThread |
protected long |
sentCount |
protected long |
sessionId
The sessionId is only available here for Log and Exception messages.
|
protected boolean initialized
protected final ByteBuffer lenBuffer
protected ByteBuffer incomingBuffer
protected long sentCount
protected long recvCount
protected long lastHeard
protected long lastSend
protected long now
protected org.apache.zookeeper.ClientCnxn.SendThread sendThread
protected long sessionId
public void disableWrite()
protected void readLength() throws IOException
IOException
Copyright © 2013 The Apache Software Foundation