async.net.impl
Class ListenOnRun

java.lang.Object
  extended by async.net.impl.ListenOnRun
All Implemented Interfaces:
RemoteControl, Runnable

public class ListenOnRun
extends Object
implements Runnable, RemoteControl


Constructor Summary
ListenOnRun(ExecutorService executorService, ServerSocket serverSocket, IOCallback ioCallback, ExceptionCallback<IOException> eCallback)
           
 
Method Summary
 boolean isActive()
           
 void run()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListenOnRun

public ListenOnRun(ExecutorService executorService,
                   ServerSocket serverSocket,
                   IOCallback ioCallback,
                   ExceptionCallback<IOException> eCallback)
Method Detail

run

public void run()
Specified by:
run in interface Runnable

isActive

public boolean isActive()
Specified by:
isActive in interface RemoteControl

stop

public void stop()
Specified by:
stop in interface RemoteControl


Copyright © 2011. All Rights Reserved.