org.xsocket.stream.io.spi
Interface IHandlerIoProvider
- All Known Subinterfaces:
- IClientIoProvider, IServerIoProvider
- All Known Implementing Classes:
- IoProvider
public interface IHandlerIoProvider
This class is experimental and is subject to change
UNLIMITED
static final int UNLIMITED
- See Also:
- Constant Field Values
setWriteTransferRate
IIoHandler setWriteTransferRate(IIoHandler ioHandler,
int bytesPerSecond)
throws java.io.IOException
- update the write transfer rate for the given handler
- Parameters:
ioHandler
- the io handlerbytesPerSecond
- the transfer rate (bytes/sec)
- Returns:
- the upated handler
- Throws:
java.io.IOException
- if an exception occurs