Class AsyncChannelWrapperNonSecure
java.lang.Object
org.apache.tomcat.websocket.AsyncChannelWrapperNonSecure
- All Implemented Interfaces:
 AsyncChannelWrapper
Generally, just passes calls straight to the wrapped 
AsynchronousSocketChannel. In some cases exceptions may
be swallowed to save them being swallowed by the calling code.- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidclose()read(ByteBuffer dst) <B, A extends B>
voidread(ByteBuffer dst, A attachment, CompletionHandler<Integer, B> handler) write(ByteBuffer src) <B, A extends B>
voidwrite(ByteBuffer[] srcs, int offset, int length, long timeout, TimeUnit unit, A attachment, CompletionHandler<Long, B> handler)  
- 
Constructor Details
- 
AsyncChannelWrapperNonSecure
 
 - 
 - 
Method Details
- 
read
- Specified by:
 readin interfaceAsyncChannelWrapper
 - 
read
public <B, A extends B> void read(ByteBuffer dst, A attachment, CompletionHandler<Integer, B> handler) - Specified by:
 readin interfaceAsyncChannelWrapper
 - 
write
- Specified by:
 writein interfaceAsyncChannelWrapper
 - 
write
public <B, A extends B> void write(ByteBuffer[] srcs, int offset, int length, long timeout, TimeUnit unit, A attachment, CompletionHandler<Long, B> handler) - Specified by:
 writein interfaceAsyncChannelWrapper
 - 
close
public void close()- Specified by:
 closein interfaceAsyncChannelWrapper
 - 
handshake
- Specified by:
 handshakein interfaceAsyncChannelWrapper
 - 
getLocalAddress
- Specified by:
 getLocalAddressin interfaceAsyncChannelWrapper- Throws:
 IOException
 
 -