org.xsocket.stream
Interface IMutlithreadedServerListener

Package class diagram package IMutlithreadedServerListener
All Superinterfaces:
ILifeCycle

public interface IMutlithreadedServerListener
extends ILifeCycle, ILifeCycle

listener interface, which defines specific callback methods for a IMultithreadedServer


Method Summary
 void onDispatcherAdded(IDispatcher dispatcher)
          Deprecated.  
 void onDispatcherRemoved(IDispatcher dispatcher)
          Deprecated.  
 void onWorkerPoolUpdated(IWorkerPool oldWorkerPool, IWorkerPool newWorkerPool)
          Deprecated.  
 
Methods inherited from interface org.xsocket.ILifeCycle
onDestroy, onInit
 

Method Detail

onWorkerPoolUpdated

void onWorkerPoolUpdated(IWorkerPool oldWorkerPool,
                         IWorkerPool newWorkerPool)
Deprecated. 

call back method for worker pool replaced event

Parameters:
oldWorkerPool - the old worker pool or null
newWorkerPool - the new worker pool or null

onDispatcherAdded

void onDispatcherAdded(IDispatcher dispatcher)
Deprecated. 

call back method for a IDispatcher add event

Parameters:
dispatcher - the added dispatcher

onDispatcherRemoved

void onDispatcherRemoved(IDispatcher dispatcher)
Deprecated. 

call back method for a IDispatcher removed event

Parameters:
dispatcher - the removed dispatcher