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 $
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BACKLOG
protected static final int BACKLOG
- See Also:
- Constant Field Values
bindAddressURI
protected java.lang.String bindAddressURI
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
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
Copyright © 2004 Protique, Ltd.. All Rights Reserved.