org.codehaus.activemq.transport.jxta
Class JxtaTransportServerChannel

java.lang.Object
  extended byorg.codehaus.activemq.transport.TransportServerChannelSupport
      extended byorg.codehaus.activemq.transport.tcp.TcpTransportServerChannel
          extended byorg.codehaus.activemq.transport.jxta.JxtaTransportServerChannel
All Implemented Interfaces:
Runnable, org.codehaus.activemq.service.Service, org.codehaus.activemq.transport.TransportServerChannel

public class JxtaTransportServerChannel
extends org.codehaus.activemq.transport.tcp.TcpTransportServerChannel

Binds to a well known port and listens for Sockets ...

Version:
$Revision: 1.2 $

Field Summary
 
Fields inherited from class org.codehaus.activemq.transport.tcp.TcpTransportServerChannel
DEFAULT_BACKLOG
 
Constructor Summary
JxtaTransportServerChannel(org.codehaus.activemq.io.WireFormat wireFormat, URI bindAddr)
          Default Constructor
 
Method Summary
protected  ServerSocket createServerSocket(URI bind)
           
 String toString()
           
 
Methods inherited from class org.codehaus.activemq.transport.tcp.TcpTransportServerChannel
getBacklog, getMaxOutstandingMessages, getWireFormat, isUseAsyncSend, run, setBacklog, setMaxOutstandingMessages, setUseAsyncSend, setWireFormat, start, stop, updatePhysicalUri
 
Methods inherited from class org.codehaus.activemq.transport.TransportServerChannelSupport
addClient, getTransportChannelListener, getUrl, setTransportChannelListener, setUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JxtaTransportServerChannel

public JxtaTransportServerChannel(org.codehaus.activemq.io.WireFormat wireFormat,
                                  URI bindAddr)
                           throws JMSException
Default Constructor

Parameters:
bindAddr -
Throws:
JMSException
Method Detail

toString

public String toString()
Returns:
pretty print of this

createServerSocket

protected ServerSocket createServerSocket(URI bind)
                                   throws UnknownHostException,
                                          IOException
Throws:
UnknownHostException
IOException


Copyright © 2004-2005 Protique, Ltd.. All Rights Reserved.