org.activemq.transport.activeio
Class ActiveIOTransportServerChannel

java.lang.Object
  extended byorg.activemq.transport.TransportServerChannelSupport
      extended byorg.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()
          start listeneing for events
 void stop()
          close the ServerChannel
 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: 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.