com.danga.MemCached
Class MemCachedClient.NIOLoader.Connection

java.lang.Object
  extended by com.danga.MemCached.MemCachedClient.NIOLoader.Connection
Enclosing class:
MemCachedClient.NIOLoader

private final class MemCachedClient.NIOLoader.Connection
extends java.lang.Object


Field Summary
 java.nio.channels.SocketChannel channel
           
 java.util.List<java.nio.ByteBuffer> incoming
           
private  boolean isDone
           
 java.nio.ByteBuffer outgoing
           
 SockIOPool.SockIO sock
           
 
Constructor Summary
MemCachedClient.NIOLoader.Connection(SockIOPool.SockIO sock, java.lang.StringBuilder request)
           
 
Method Summary
 void close()
           
 java.nio.ByteBuffer getBuffer()
           
 boolean isDone()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

incoming

public java.util.List<java.nio.ByteBuffer> incoming

outgoing

public java.nio.ByteBuffer outgoing

sock

public SockIOPool.SockIO sock

channel

public java.nio.channels.SocketChannel channel

isDone

private boolean isDone
Constructor Detail

MemCachedClient.NIOLoader.Connection

public MemCachedClient.NIOLoader.Connection(SockIOPool.SockIO sock,
                                            java.lang.StringBuilder request)
                                     throws java.io.IOException
Throws:
java.io.IOException
Method Detail

close

public void close()

isDone

public boolean isDone()

getBuffer

public java.nio.ByteBuffer getBuffer()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright ? 2005 - greg whalin