org.jboss.messaging.core.remoting.impl
Class ClientKeepAliveHandler

java.lang.Object
  extended by org.jboss.messaging.core.remoting.impl.ClientKeepAliveHandler
All Implemented Interfaces:
KeepAliveHandler

public class ClientKeepAliveHandler
extends java.lang.Object
implements KeepAliveHandler

pluggable component that defines how a client responds to a server ping command. This simple implementation returns a valid pong

Author:
Andy Taylor

Constructor Summary
ClientKeepAliveHandler()
           
 
Method Summary
 Pong ping(Ping ping)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientKeepAliveHandler

public ClientKeepAliveHandler()
Method Detail

ping

public Pong ping(Ping ping)
Specified by:
ping in interface KeepAliveHandler


Copyright © 2006 JBoss Inc. All Rights Reserved.