org.exolab.jms.net.multiplexer
Interface MultiplexerListener

All Known Implementing Classes:
MultiplexedManagedConnection

public interface MultiplexerListener

Listener for Multiplexer events.

Version:
$Revision: 1.3 $ $Date: 2006/12/16 12:37:17 $
Author:
Tim Anderson

Method Summary
 void closed()
          Invoked when the connection is closed by the peer.
 void error(java.lang.Throwable error)
          Invoked when an error occurs on the multiplexer.
 void pinged(int token)
          Notifies of a successful ping.
 void request(org.exolab.jms.net.multiplexer.Channel channel)
          Invoked for an invocation request.
 

Method Detail

request

public void request(org.exolab.jms.net.multiplexer.Channel channel)
Invoked for an invocation request.
Parameters:
channel - the channel the invocation is on

closed

public void closed()
Invoked when the connection is closed by the peer.

error

public void error(java.lang.Throwable error)
Invoked when an error occurs on the multiplexer.
Parameters:
error - the error

pinged

public void pinged(int token)
Notifies of a successful ping.
Parameters:
token - the token sent in the ping


Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.