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 $
ActiveIOTransportServerChannel
public ActiveIOTransportServerChannel(WireFormat wireFormat,
org.activeio.AsyncChannelServer server)
- Parameters:
wireFormat
- server
-
start
public void start()
throws JMSException
- Description copied from interface:
TransportServerChannel
- start listeneing for events
- Specified by:
start
in interface TransportServerChannel
- Overrides:
start
in class TransportServerChannelSupport
- Throws:
JMSException
stop
public void stop()
throws JMSException
- Description copied from interface:
TransportServerChannel
- 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
onAccept
public void onAccept(org.activeio.Channel c)
- Specified by:
onAccept
in interface org.activeio.AcceptListener
onAcceptError
public void onAcceptError(IOException error)
- Specified by:
onAcceptError
in interface org.activeio.AcceptListener
Copyright © 2004-2007 Protique, Ltd.. All Rights Reserved.