org.apache.directory.server.ntp.protocol
Class NtpProtocolHandler
java.lang.Object
org.apache.mina.core.service.IoHandlerAdapter
org.apache.directory.server.ntp.protocol.NtpProtocolHandler
- All Implemented Interfaces:
- org.apache.mina.core.service.IoHandler
public class NtpProtocolHandler
- extends org.apache.mina.core.service.IoHandlerAdapter
The NTP protocol handler. It implements the IoHandler#messageReceived
method,
which returns the NTP reply. The IoHandler#exceptionCaught
is also implemented,
all the other methods are handled by the IoHandlerAdapter
class.
- Version:
- $Rev: 725712 $, $Date: 2008-12-11 16:32:04 +0100 (Thu, 11 Dec 2008) $
- Author:
- Apache Directory Project
Method Summary |
void |
exceptionCaught(org.apache.mina.core.session.IoSession session,
java.lang.Throwable cause)
|
void |
messageReceived(org.apache.mina.core.session.IoSession session,
java.lang.Object message)
|
Methods inherited from class org.apache.mina.core.service.IoHandlerAdapter |
messageSent, sessionClosed, sessionCreated, sessionIdle, sessionOpened |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NtpProtocolHandler
public NtpProtocolHandler()
exceptionCaught
public void exceptionCaught(org.apache.mina.core.session.IoSession session,
java.lang.Throwable cause)
-
- Specified by:
exceptionCaught
in interface org.apache.mina.core.service.IoHandler
- Overrides:
exceptionCaught
in class org.apache.mina.core.service.IoHandlerAdapter
messageReceived
public void messageReceived(org.apache.mina.core.session.IoSession session,
java.lang.Object message)
-
- Specified by:
messageReceived
in interface org.apache.mina.core.service.IoHandler
- Overrides:
messageReceived
in class org.apache.mina.core.service.IoHandlerAdapter
Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.