Package org.eclipse.aether.named.ipc
Class ByteChannelWrapper
java.lang.Object
org.eclipse.aether.named.ipc.ByteChannelWrapper
- All Implemented Interfaces:
 Closeable,AutoCloseable,ByteChannel,Channel,ReadableByteChannel,WritableByteChannel
Trivial ByteChannel wrapper to avoid the read/write synchronization which
 happens when the channel implements SelectableChannel.
- Since:
 - 2.0.1
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanisOpen()intread(ByteBuffer dst) intwrite(ByteBuffer src)  
- 
Constructor Details
- 
ByteChannelWrapper
 
 - 
 - 
Method Details
- 
read
- Specified by:
 readin interfaceReadableByteChannel- Throws:
 IOException
 - 
write
- Specified by:
 writein interfaceWritableByteChannel- Throws:
 IOException
 - 
isOpen
 - 
close
- Specified by:
 closein interfaceAutoCloseable- Specified by:
 closein interfaceChannel- Specified by:
 closein interfaceCloseable- Throws:
 IOException
 
 -