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.12 $
Field Summary |
protected static int |
BACKLOG
|
Constructor Summary |
GTransportServerChannel(WireFormat wireFormat,
URI bindAddr,
org.apache.geronimo.network.SelectorManager selectorManager,
org.apache.geronimo.pool.ThreadPool threadPool,
org.apache.geronimo.pool.ClockPool clockPool)
Default Constructor |
BACKLOG
protected static final int BACKLOG
- See Also:
- Constant Field Values
GTransportServerChannel
public GTransportServerChannel(WireFormat wireFormat,
URI bindAddr,
org.apache.geronimo.network.SelectorManager selectorManager,
org.apache.geronimo.pool.ThreadPool threadPool,
org.apache.geronimo.pool.ClockPool clockPool)
throws Exception
- Default Constructor
- Parameters:
bindAddr
-
- Throws:
JMSException
Exception
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
stop
public void stop()
throws JMSException
- close the ServerChannel
- Specified by:
stop
in interface TransportServerChannel
- Overrides:
stop
in class TransportServerChannelSupport
- Throws:
JMSException
toString
public String toString()
- Returns:
- pretty print of this
Copyright © 2004 Protique, Ltd.. All Rights Reserved.