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.gnet
Class GTransportServerChannel

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

All Implemented Interfaces:
  Service, TransportServerChannel

public class GTransportServerChannel
extends TransportServerChannelSupport
implements TransportServerChannel

An implementation of TransportServerChannel which uses the Geronimo network layer for connectivity.

Version:
  $Revision: 1.10 $

Field Summary
`protected static int` | `BACKLOG`
`protected java.lang.String` | `bindAddressURI`

Constructor Summary
`GTransportServerChannel(WireFormat wireFormat, java.net.URI bindAddr, org.apache.geronimo.network.SelectorManager selectorManager, org.apache.geronimo.pool.ThreadPool threadPool, org.apache.geronimo.pool.ClockPool clockPool)` Default Constructor

Method Summary
`void` | `start()` start listeneing for events
`void` | `stop()` close the ServerChannel
`java.lang.String` | `toString()`

Methods inherited from class org.codehaus.activemq.transport.TransportServerChannelSupport
`addClient, setTransportChannelListener`

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

Methods inherited from interface org.codehaus.activemq.transport.TransportServerChannel
`setTransportChannelListener`

Field Detail

### BACKLOG

    protected static final int BACKLOG

See Also:
  Constant Field Values

### bindAddressURI

    protected java.lang.String bindAddressURI

Constructor Detail

### GTransportServerChannel

    public GTransportServerChannel(WireFormat wireFormat,
                                   java.net.URI bindAddr,
                                   org.apache.geronimo.network.SelectorManager selectorManager,
                                   org.apache.geronimo.pool.ThreadPool threadPool,
                                   org.apache.geronimo.pool.ClockPool clockPool)
                            throws java.lang.Exception

  Default Constructor

Parameters:
  `bindAddr` -
Throws:
  `JMSException`
  `java.lang.Exception`

Method Detail

### stop

    public void stop()

  close the ServerChannel

  Specified by:
    `stop` in interface `TransportServerChannel`
  Overrides:
    `stop` in class `TransportServerChannelSupport`

### start

    public void start()
               throws JMSException

  start listeneing for events

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

### toString

    public java.lang.String toString()

  Returns:
    pretty print of this

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.