org.caleigo.toolkit.tunnel
Class HTTPTunnelServer.CloseMessageConsumer

java.lang.Object
  extended byorg.caleigo.toolkit.tunnel.HTTPTunnelServer.CloseMessageConsumer
All Implemented Interfaces:
IMessageConsumer
Enclosing class:
HTTPTunnelServer

protected class HTTPTunnelServer.CloseMessageConsumer
extends java.lang.Object
implements IMessageConsumer


Constructor Summary
protected HTTPTunnelServer.CloseMessageConsumer()
           
 
Method Summary
 boolean acceptsMessage(java.lang.Object message)
          Returns true if this IMessageConsumer accepts the message.
 java.lang.Object answerMessage(java.lang.Object message)
          Tells the IMessageConsumer to consume a message and returns a new message that will be delivered to the sender of the originial message.
 void consumeMessage(java.lang.Object message)
          Tells the IMessageConsumer to consume a message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTTPTunnelServer.CloseMessageConsumer

protected HTTPTunnelServer.CloseMessageConsumer()
Method Detail

acceptsMessage

public boolean acceptsMessage(java.lang.Object message)
Returns true if this IMessageConsumer accepts the message. This method is allways called before consumeMessage for any given message.

Specified by:
acceptsMessage in interface IMessageConsumer

answerMessage

public java.lang.Object answerMessage(java.lang.Object message)
Tells the IMessageConsumer to consume a message and returns a new message that will be delivered to the sender of the originial message.

Specified by:
answerMessage in interface IMessageConsumer

consumeMessage

public void consumeMessage(java.lang.Object message)
Tells the IMessageConsumer to consume a message.

Specified by:
consumeMessage in interface IMessageConsumer


Copyright © 2005 Caleigo. All Rights Reserved.