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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()booleanisOpen()intread(ByteBuffer dst) intwrite(ByteBuffer src) 
- 
Constructor Details- 
ByteChannelWrapper
 
- 
- 
Method Details- 
read- Specified by:
- readin interface- ReadableByteChannel
- Throws:
- IOException
 
- 
write- Specified by:
- writein interface- WritableByteChannel
- Throws:
- IOException
 
- 
isOpen
- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Channel
- Specified by:
- closein interface- Closeable
- Throws:
- IOException
 
 
-