Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.codehaus.activemq.transport
Class TransportServerChannelSupport

    java.lang.Object
      org.codehaus.activemq.transport.TransportServerChannelSupport

All Implemented Interfaces:
  Service, TransportServerChannel

Direct Known Subclasses:
  EmberTransportServerChannel, GTransportServerChannel, JGroupsTransportServerChannel, JRMSTransportServerChannel, MulticastTransportServerChannel, TcpTransportServerChannel, UdpTransportServerChannel, VmTransportServerChannel

public abstract class TransportServerChannelSupport
extends java.lang.Object
implements TransportServerChannel

An abstract base class useful for implementation inheritence

Version:
  $Revision: 1.3 $

Constructor Summary
`TransportServerChannelSupport()`

Method Summary
`protected void` | `addClient(TransportChannel channel)`
`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

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TransportServerChannelSupport

    public TransportServerChannelSupport()

Method Detail

### start

    public void start()
               throws JMSException

  Description copied from interface: `TransportServerChannel`
  start listeneing for events

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

### stop

    public void stop()

  Description copied from interface: `TransportServerChannel`
  close the ServerChannel

  Specified by:
    `stop` in interface `TransportServerChannel`

### setTransportChannelListener

    public void setTransportChannelListener(TransportChannelListener listener)

  Description copied from interface: `TransportServerChannel`
  Registers the listener to be used when new clients connect or disconnect

  Specified by:
    `setTransportChannelListener` in interface `TransportServerChannel`
  Parameters:
    `listener` - the listener to be invoked when a client connects or disconnects

### addClient

    protected void addClient(TransportChannel channel)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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