com.sun.enterprise.mgmt.transport.grizzly
Class PongMessageListener

java.lang.Object
  extended by com.sun.enterprise.mgmt.transport.grizzly.PongMessageListener
All Implemented Interfaces:
MessageListener, EventListener

public class PongMessageListener
extends Object
implements MessageListener

Author:
Bongjae Chang

Constructor Summary
PongMessageListener()
           
 
Method Summary
 int getType()
          Returns the message type which Message is supporting i.g.
 void receiveMessageEvent(MessageEvent event)
          Processing a MessageEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PongMessageListener

public PongMessageListener()
Method Detail

receiveMessageEvent

public void receiveMessageEvent(MessageEvent event)
                         throws MessageIOException
Description copied from interface: MessageListener
Processing a MessageEvent

Specified by:
receiveMessageEvent in interface MessageListener
Parameters:
event - a received message event
Throws:
MessageIOException - if I/O error occurs

getType

public int getType()
Description copied from interface: MessageListener
Returns the message type which Message is supporting i.g. Message.TYPE_CLUSTER_MANAGER_MESSAGE or Message.TYPE_HEALTH_MONITOR_MESSAGE's integer value or etc...

Specified by:
getType in interface MessageListener
Returns:
the message type about which this listener is concerned


Copyright © 2012. All Rights Reserved.