async.net.impl
Class DefaultDispatcher

java.lang.Object
  extended by async.net.impl.DefaultDispatcher
All Implemented Interfaces:
Dispatcher

public class DefaultDispatcher
extends Object
implements Dispatcher


Constructor Summary
DefaultDispatcher()
           
 
Method Summary
 IOCallback createCallback()
           
 IOCallback createCallback(ExitCallback exitCallback)
           
 IOCallback createFactory()
           
protected  void removeStream(OutputStream stream)
           
protected  void write(byte[] bs, int i, int i2, OutputStream... excludeStreams)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDispatcher

public DefaultDispatcher()
Method Detail

createCallback

public IOCallback createCallback()
Specified by:
createCallback in interface Dispatcher

createCallback

public IOCallback createCallback(ExitCallback exitCallback)
Specified by:
createCallback in interface Dispatcher

removeStream

protected void removeStream(OutputStream stream)

write

protected void write(byte[] bs,
                     int i,
                     int i2,
                     OutputStream... excludeStreams)
              throws IOException
Throws:
IOException

createFactory

public IOCallback createFactory()
Specified by:
createFactory in interface Dispatcher


Copyright © 2011. All Rights Reserved.