org.codehaus.activemq.transport
Interface TransportServerChannel

All Superinterfaces:
Service
All Known Implementing Classes:
GTransportServerChannel, TransportServerChannelSupport

public interface TransportServerChannel
extends Service

Represents a Server which accepts incoming client connections in the form of TransportChannels which is used inside the JMS Broker

Version:
$Revision: 1.6 $

Method Summary
 void setTransportChannelListener(TransportChannelListener listener)
          Registers the listener to be used when new clients connect or disconnect
 void start()
          start listeneing for events
 void stop()
          close the ServerChannel
 

Method Detail

stop

public void stop()
close the ServerChannel

Specified by:
stop in interface Service

start

public void start()
           throws JMSException
start listeneing for events

Specified by:
start in interface Service
Throws:
JMSException - if an error occurs

setTransportChannelListener

public void setTransportChannelListener(TransportChannelListener listener)
Registers the listener to be used when new clients connect or disconnect

Parameters:
listener - the listener to be invoked when a client connects or disconnects


Copyright © 2004 Protique, Ltd.. All Rights Reserved.