org.codehaus.activemq.transport.gnet
Class GTransportServerChannel
java.lang.Object
org.codehaus.activemq.transport.TransportServerChannelSupport
org.codehaus.activemq.transport.gnet.GTransportServerChannel
- All Implemented Interfaces:
- org.codehaus.activemq.service.Service, org.codehaus.activemq.transport.TransportServerChannel
- public class GTransportServerChannel
- extends org.codehaus.activemq.transport.TransportServerChannelSupport
- implements org.codehaus.activemq.transport.TransportServerChannel
An implementation of TransportServerChannel which uses
the Geronimo network layer for connectivity.
- Version:
- $Revision: 1.2 $
Field Summary |
protected static int |
BACKLOG
|
Constructor Summary |
GTransportServerChannel(org.codehaus.activemq.io.WireFormat wireFormat,
URI bindAddr,
org.apache.geronimo.network.SelectorManager selectorManager,
org.apache.geronimo.pool.ThreadPool threadPool,
org.apache.geronimo.pool.ClockPool clockPool)
Default Constructor |
Methods inherited from class org.codehaus.activemq.transport.TransportServerChannelSupport |
addClient, getTransportChannelListener, getUrl, setTransportChannelListener, setUrl |
Methods inherited from interface org.codehaus.activemq.transport.TransportServerChannel |
getUrl, setTransportChannelListener |
BACKLOG
protected static final int BACKLOG
- See Also:
- Constant Field Values
GTransportServerChannel
public GTransportServerChannel(org.codehaus.activemq.io.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 org.codehaus.activemq.transport.TransportServerChannel
- Throws:
JMSException
- if an error occurs
stop
public void stop()
throws JMSException
- close the ServerChannel
- Specified by:
stop
in interface org.codehaus.activemq.transport.TransportServerChannel
- Throws:
JMSException
toString
public String toString()
- Returns:
- pretty print of this
Copyright © 2004-2005 Protique, Ltd.. All Rights Reserved.