org.neo.swarm.util.io
Interface StreamCallback
- All Known Implementing Classes:
- SocketReader, SocketWriter
- public interface StreamCallback
Contract for Instream providers that expose a ByteBuffer for read data.
- Author:
- navery
|
Method Summary |
void |
close()
|
int |
execute(java.nio.ByteBuffer buffer,
int availableBytes)
|
execute
public int execute(java.nio.ByteBuffer buffer,
int availableBytes)
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
Copyright © 2001-2004 SWARM-ONE -First Generation (S)calable(W)ide(AR)ea(M)esh. All Rights Reserved.