org.xsocket.stream.io.spi
Interface IHandlerIoProvider

Package class diagram package IHandlerIoProvider
All Known Subinterfaces:
IClientIoProvider, IServerIoProvider
All Known Implementing Classes:
IoProvider

public interface IHandlerIoProvider



This class is experimental and is subject to change


Field Summary
static int UNLIMITED
           
 
Method Summary
 IIoHandler setWriteTransferRate(IIoHandler ioHandler, int bytesPerSecond)
          update the write transfer rate for the given handler
 

Field Detail

UNLIMITED

static final int UNLIMITED
See Also:
Constant Field Values
Method Detail

setWriteTransferRate

IIoHandler setWriteTransferRate(IIoHandler ioHandler,
                                int bytesPerSecond)
                                throws java.io.IOException
update the write transfer rate for the given handler

Parameters:
ioHandler - the io handler
bytesPerSecond - the transfer rate (bytes/sec)
Returns:
the upated handler
Throws:
java.io.IOException - if an exception occurs