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 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 size
      inputExtendSize - input network extend size
      outputBufferSize - output network buffer size
      outputExtendSize - 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 size
      inputExtendSize - input network extend size
      outputBufferSize - output network buffer size
      outputExtendSize - output network extend size
      useTcpNoDelay - 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 size
      inputExtendSize - input network extend size
      outputBufferSize - output network buffer size
      outputExtendSize - output network extend size
      protocolInputHandler - 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 size
      inputExtendSize - input network extend size
      outputBufferSize - output network buffer size
      outputExtendSize - output network extend size
      useTcpNoDelay - use TCP No Delay
      protocolInputHandler - protocol input handler.
      protocolOutputHandler - protocol output handler.
  • Method Details

    • getHostname

      public 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 String toString()
      Overrides:
      toString in class ConnectionMetaData