com.opera.core.systems.util
Interface SocketListener
- All Known Implementing Classes:
- StpConnection, StpConnectionListener
public interface SocketListener
Interface for use with SocketMonitor for being notified about read/write events.
- Author:
- Jan Vidar Krey
canRead
boolean canRead(SelectableChannel ch)
throws IOException
- Returns:
- true if more reading is expected.
- Throws:
IOException
canWrite
boolean canWrite(SelectableChannel ch)
throws IOException
- Returns:
- true if more writing is needed.
- Throws:
IOException
Copyright © 2012. All Rights Reserved.