org.glassfish.grizzly.callbackhandler
Class CallbackHandlerAdapter
java.lang.Object
org.glassfish.grizzly.AbstractProcessor
org.glassfish.grizzly.callbackhandler.AbstractCallbackHandler
org.glassfish.grizzly.callbackhandler.CallbackHandlerAdapter
- All Implemented Interfaces:
- CallbackHandler, Processor
public class CallbackHandlerAdapter
- extends AbstractCallbackHandler
Empty adapter for CallbackHandler interface.
- Author:
- Alexey Stashok
- See Also:
CallbackHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CallbackHandlerAdapter
public CallbackHandlerAdapter()
onAccept
public void onAccept(Context context)
throws IOException
- This method is called when
IOEvent.ACCEPTED event occured on
Connection.
- Parameters:
context - an object containing information about the event
processing.
- Throws:
IOException
onConnect
public void onConnect(Context context)
throws IOException
- This method is called when
IOEvent.CONNECTED event occured on
Connection.
- Parameters:
context - an object containing information about the event
processing.
- Throws:
IOException
onRead
public void onRead(Context context)
throws IOException
- This method is called when
IOEvent.READ event occured on
Connection.
- Parameters:
context - an object containing information about the event
processing.
- Throws:
IOException
onWrite
public void onWrite(Context context)
throws IOException
- This method is called when
IOEvent.WRITE event occured on
Connection.
- Parameters:
context - an object containing information about the event
processing.
- Throws:
IOException
onClose
public void onClose(Context context)
throws IOException
- This method is called when
IOEvent.CLOSED event occured on
Connection.
- Parameters:
context - an object containing information about the event
processing.
- Throws:
IOException
Copyright © 2009 SUN Microsystems. All Rights Reserved.