org.activemq.transport.activeio
Class ActiveIOTransportServerChannel
java.lang.Object
org.activemq.transport.TransportServerChannelSupport
org.activemq.transport.activeio.ActiveIOTransportServerChannel
- All Implemented Interfaces:
- org.activeio.AcceptListener, Service, TransportServerChannel
- public class ActiveIOTransportServerChannel
- extends TransportServerChannelSupport
- implements org.activeio.AcceptListener
Binds to a well known port and listens for Sockets ...
- Version:
- $Revision: 1.1.1.1 $
Method Summary |
void |
onAccept(org.activeio.Channel c)
|
void |
onAcceptError(java.io.IOException error)
|
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 |
ActiveIOTransportServerChannel
public ActiveIOTransportServerChannel(WireFormat wireFormat,
org.activeio.AsynchChannelServer server)
- Parameters:
wireFormat
- server
-
start
public void start()
throws javax.jms.JMSException
- Description copied from interface:
TransportServerChannel
- start listeneing for events
- Specified by:
start
in interface TransportServerChannel
- Overrides:
start
in class TransportServerChannelSupport
- Throws:
javax.jms.JMSException
stop
public void stop()
throws javax.jms.JMSException
- Description copied from interface:
TransportServerChannel
- close the ServerChannel
- Specified by:
stop
in interface TransportServerChannel
- Overrides:
stop
in class TransportServerChannelSupport
- Throws:
javax.jms.JMSException
toString
public java.lang.String toString()
- Returns:
- pretty print of this
onAccept
public void onAccept(org.activeio.Channel c)
- Specified by:
onAccept
in interface org.activeio.AcceptListener
onAcceptError
public void onAcceptError(java.io.IOException error)
- Specified by:
onAcceptError
in interface org.activeio.AcceptListener
Copyright © 2004-2005 Protique, Ltd.. All Rights Reserved.