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:
Service
- Called to start the service
- Specified by:
start
in interface Service
- Specified by:
start
in interface TransportServerChannel
- Overrides:
start
in class TransportServerChannelSupport
- Throws:
JMSException
- if an error occurs
stop
public void stop()
throws JMSException
- Description copied from interface:
Service
- Called to shutdown the service
- Specified by:
stop
in interface Service
- Specified by:
stop
in interface TransportServerChannel
- Overrides:
stop
in class TransportServerChannelSupport
- Throws:
JMSException
toString
public String toString()
- Overrides:
toString
in class Object
- 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-2009 Protique, Ltd.. All Rights Reserved.