Package com.swiftmq.swiftlet.net
Class ConnectorMetaData
- java.lang.Object
-
- com.swiftmq.swiftlet.net.ConnectionMetaData
-
- com.swiftmq.swiftlet.net.ConnectorMetaData
-
public class ConnectorMetaData extends ConnectionMetaData
A ConnectorMetaData object describes a TCP connector.- Author:
- IIT GmbH, Bremen/Germany, Copyright (c) 2000-2002, All Rights Reserved
-
-
Constructor Summary
Constructors Constructor Description ConnectorMetaData(java.lang.String hostname, int port, long retryInterval, Swiftlet swiftlet, long keepAliveInterval, java.lang.String socketFactoryClass, ConnectionListener connectionListener, int inputBufferSize, int inputExtendSize, int outputBufferSize, int outputExtendSize)
Constructs a new ConnectorMetaData.ConnectorMetaData(java.lang.String hostname, int port, long retryInterval, Swiftlet swiftlet, long keepAliveInterval, java.lang.String socketFactoryClass, ConnectionListener connectionListener, int inputBufferSize, int inputExtendSize, int outputBufferSize, int outputExtendSize, boolean useTcpNoDelay)
Constructs a new ConnectorMetaData.ConnectorMetaData(java.lang.String hostname, int port, long retryInterval, Swiftlet swiftlet, long keepAliveInterval, java.lang.String socketFactoryClass, ConnectionListener connectionListener, int inputBufferSize, int inputExtendSize, int outputBufferSize, int outputExtendSize, boolean useTcpNoDelay, ProtocolInputHandler protocolInputHandler, ProtocolOutputHandler protocolOutputHandler)
Constructs a new ConnectorMetaData.ConnectorMetaData(java.lang.String hostname, int port, long retryInterval, Swiftlet swiftlet, long keepAliveInterval, java.lang.String socketFactoryClass, ConnectionListener connectionListener, int inputBufferSize, int inputExtendSize, int outputBufferSize, int outputExtendSize, ProtocolInputHandler protocolInputHandler, ProtocolOutputHandler protocolOutputHandler)
Constructs a new ConnectorMetaData.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getHostname()
Returns the hostname.int
getPort()
Returns the port.long
getRetryInterval()
Returns the retry interval.java.lang.String
toString()
-
Methods inherited from class com.swiftmq.swiftlet.net.ConnectionMetaData
createProtocolInputHandler, createProtocolOutputHandler, getConnectionListener, getId, getInputBufferSize, getInputExtendSize, getKeepAliveInterval, getOutputBufferSize, getOutputExtendSize, getSocketFactoryClass, getSwiftlet, isUseTcpNoDelay, setId
-
-
-
-
Constructor Detail
-
ConnectorMetaData
public ConnectorMetaData(java.lang.String hostname, int port, long retryInterval, Swiftlet swiftlet, long keepAliveInterval, java.lang.String socketFactoryClass, ConnectionListener connectionListener, int inputBufferSize, int inputExtendSize, int outputBufferSize, int outputExtendSize)
Constructs a new ConnectorMetaData.- Parameters:
hostname
- hostname to connect to.port
- port to connect to.retryInterval
- retry interval if a connect attempt fails.swiftlet
- Swiftlet.keepAliveInterval
- keep alive interval (for SMQP based connections only).socketFactoryClass
- name of the socket factory class.connectionListener
- connection listener.inputBufferSize
- input network buffer sizeinputExtendSize
- input network extend sizeoutputBufferSize
- output network buffer sizeoutputExtendSize
- output network extend size
-
ConnectorMetaData
public ConnectorMetaData(java.lang.String hostname, int port, long retryInterval, Swiftlet swiftlet, long keepAliveInterval, java.lang.String socketFactoryClass, ConnectionListener connectionListener, int inputBufferSize, int inputExtendSize, int outputBufferSize, int outputExtendSize, boolean useTcpNoDelay)
Constructs a new ConnectorMetaData.- Parameters:
hostname
- hostname to connect to.port
- port to connect to.retryInterval
- retry interval if a connect attempt fails.swiftlet
- Swiftlet.keepAliveInterval
- keep alive interval (for SMQP based connections only).socketFactoryClass
- name of the socket factory class.connectionListener
- connection listener.inputBufferSize
- input network buffer sizeinputExtendSize
- input network extend sizeoutputBufferSize
- output network buffer sizeoutputExtendSize
- output network extend sizeuseTcpNoDelay
- use TCP No Delay
-
ConnectorMetaData
public ConnectorMetaData(java.lang.String hostname, int port, long retryInterval, Swiftlet swiftlet, long keepAliveInterval, java.lang.String socketFactoryClass, ConnectionListener connectionListener, int inputBufferSize, int inputExtendSize, int outputBufferSize, int outputExtendSize, ProtocolInputHandler protocolInputHandler, ProtocolOutputHandler protocolOutputHandler)
Constructs a new ConnectorMetaData.- Parameters:
hostname
- hostname to connect to.port
- port to connect to.retryInterval
- retry interval if a connect attempt fails.swiftlet
- Swiftlet.keepAliveInterval
- keep alive interval (for SMQP based connections only).socketFactoryClass
- name of the socket factory class.connectionListener
- connection listener.inputBufferSize
- input network buffer sizeinputExtendSize
- input network extend sizeoutputBufferSize
- output network buffer sizeoutputExtendSize
- output network extend sizeprotocolInputHandler
- protocol input handler.protocolOutputHandler
- protocol output handler.
-
ConnectorMetaData
public ConnectorMetaData(java.lang.String hostname, int port, long retryInterval, Swiftlet swiftlet, long keepAliveInterval, java.lang.String socketFactoryClass, ConnectionListener connectionListener, int inputBufferSize, int inputExtendSize, int outputBufferSize, int outputExtendSize, boolean useTcpNoDelay, ProtocolInputHandler protocolInputHandler, ProtocolOutputHandler protocolOutputHandler)
Constructs a new ConnectorMetaData.- Parameters:
hostname
- hostname to connect to.port
- port to connect to.retryInterval
- retry interval if a connect attempt fails.swiftlet
- Swiftlet.keepAliveInterval
- keep alive interval (for SMQP based connections only).socketFactoryClass
- name of the socket factory class.connectionListener
- connection listener.inputBufferSize
- input network buffer sizeinputExtendSize
- input network extend sizeoutputBufferSize
- output network buffer sizeoutputExtendSize
- output network extend sizeuseTcpNoDelay
- use TCP No DelayprotocolInputHandler
- protocol input handler.protocolOutputHandler
- protocol output handler.
-
-
Method Detail
-
getHostname
public java.lang.String getHostname()
Returns the hostname.- Returns:
- hostname.
-
getPort
public int getPort()
Returns the port.- Returns:
- port.
-
getRetryInterval
public long getRetryInterval()
Returns the retry interval.- Returns:
- retry interval.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classConnectionMetaData
-
-