rabbit.io
Interface SocketHandler

All Superinterfaces:
Runnable
All Known Implementing Classes:
Acceptor, BaseSocketHandler, BlockSender, HttpHeaderReader, WebConnectionResourceSource

public interface SocketHandler
extends Runnable

A handler for a socket channel.

Author:
Robert Olofsson

Method Summary
 String getDescription()
          Get a string description.
 void timeout()
          Signal that the select operation timed out.
 boolean useSeparateThread()
          Check if this handler needs to run in a separate thread.
 
Methods inherited from interface java.lang.Runnable
run
 

Method Detail

timeout

void timeout()
Signal that the select operation timed out.


useSeparateThread

boolean useSeparateThread()
Check if this handler needs to run in a separate thread.


getDescription

String getDescription()
Get a string description.