Package com.swiftmq.swiftlet.net
Class ConnectorMetaData
java.lang.Object
com.swiftmq.swiftlet.net.ConnectionMetaData
com.swiftmq.swiftlet.net.ConnectorMetaData
A ConnectorMetaData object describes a TCP connector.
- Author:
- IIT GmbH, Bremen/Germany, Copyright (c) 2000-2002, All Rights Reserved
-
Constructor Summary
ConstructorsConstructorDescriptionConnectorMetaData
(String hostname, int port, long retryInterval, Swiftlet swiftlet, long keepAliveInterval, String socketFactoryClass, ConnectionListener connectionListener, int inputBufferSize, int inputExtendSize, int outputBufferSize, int outputExtendSize) Constructs a new ConnectorMetaData.ConnectorMetaData
(String hostname, int port, long retryInterval, Swiftlet swiftlet, long keepAliveInterval, String socketFactoryClass, ConnectionListener connectionListener, int inputBufferSize, int inputExtendSize, int outputBufferSize, int outputExtendSize, boolean useTcpNoDelay) Constructs a new ConnectorMetaData.ConnectorMetaData
(String hostname, int port, long retryInterval, Swiftlet swiftlet, long keepAliveInterval, String socketFactoryClass, ConnectionListener connectionListener, int inputBufferSize, int inputExtendSize, int outputBufferSize, int outputExtendSize, boolean useTcpNoDelay, ProtocolInputHandler protocolInputHandler, ProtocolOutputHandler protocolOutputHandler) Constructs a new ConnectorMetaData.ConnectorMetaData
(String hostname, int port, long retryInterval, Swiftlet swiftlet, long keepAliveInterval, String socketFactoryClass, ConnectionListener connectionListener, int inputBufferSize, int inputExtendSize, int outputBufferSize, int outputExtendSize, ProtocolInputHandler protocolInputHandler, ProtocolOutputHandler protocolOutputHandler) Constructs a new ConnectorMetaData. -
Method Summary
Methods inherited from class com.swiftmq.swiftlet.net.ConnectionMetaData
createProtocolInputHandler, createProtocolOutputHandler, getConnectionListener, getId, getInputBufferSize, getInputExtendSize, getKeepAliveInterval, getOutputBufferSize, getOutputExtendSize, getSocketFactoryClass, getSwiftlet, isUseTcpNoDelay, setId
-
Constructor Details
-
ConnectorMetaData
public ConnectorMetaData(String hostname, int port, long retryInterval, Swiftlet swiftlet, long keepAliveInterval, 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(String hostname, int port, long retryInterval, Swiftlet swiftlet, long keepAliveInterval, 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(String hostname, int port, long retryInterval, Swiftlet swiftlet, long keepAliveInterval, 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(String hostname, int port, long retryInterval, Swiftlet swiftlet, long keepAliveInterval, 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 Details
-
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
- Overrides:
toString
in classConnectionMetaData
-