org.activemq.transport.tcp
Class SfTransportServerChannelFactory

java.lang.Object
  extended by org.activemq.transport.tcp.SfTransportServerChannelFactory
All Implemented Interfaces:
TransportServerChannelFactory

public class SfTransportServerChannelFactory
extends Object
implements TransportServerChannelFactory

An implementation of TransportServerChannelFactory which uses a ServerSocketFactory to create ServerSocket instances

Version:
$Revision: 1.1.1.1 $

Field Summary
protected static int BACKLOG
           
 
Constructor Summary
SfTransportServerChannelFactory(ServerSocketFactory socketFactory)
           
 
Method Summary
 TransportServerChannel create(WireFormat wireFormat, URI bindAddress)
          Bind a ServerChannel to an address
protected  ServerSocket createServerSocket(URI bind)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BACKLOG

protected static final int BACKLOG
See Also:
Constant Field Values
Constructor Detail

SfTransportServerChannelFactory

public SfTransportServerChannelFactory(ServerSocketFactory socketFactory)
Method Detail

create

public TransportServerChannel create(WireFormat wireFormat,
                                     URI bindAddress)
                              throws JMSException
Bind a ServerChannel to an address

Specified by:
create in interface TransportServerChannelFactory
Parameters:
wireFormat -
bindAddress -
Returns:
the TransportChannel bound to the remote node
Throws:
JMSException

createServerSocket

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


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