org.activemq.transport.activeio
Class ActiveIOTransportServerChannel

java.lang.Object
  extended by org.activemq.transport.TransportServerChannelSupport
      extended by 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 $

Constructor Summary
ActiveIOTransportServerChannel(WireFormat wireFormat, org.activeio.AsyncChannelServer server)
           
 
Method Summary
 void onAccept(org.activeio.Channel c)
           
 void onAcceptError(IOException error)
           
 void start()
          Called to start the service
 void stop()
          Called to shutdown the service
 String toString()
           
 
Methods inherited from class org.activemq.transport.TransportServerChannelSupport
addClient, getSocketAddress, getTransportChannelListener, getUrl, removeClient, resolveHostName, setTransportChannelListener, setUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActiveIOTransportServerChannel

public ActiveIOTransportServerChannel(WireFormat wireFormat,
                                      org.activeio.AsyncChannelServer server)
Parameters:
wireFormat -
server -
Method Detail

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-2008 Protique, Ltd.. All Rights Reserved.