Class ConnectionManager.SocketParam

java.lang.Object
de.espirit.firstspirit.access.ConnectionManager.SocketParam
Enclosing class:
ConnectionManager

public static final class ConnectionManager.SocketParam extends Object
Container for socket parameters.
Since:
4.0.17
  • Constructor Summary

    Constructors
    Constructor
    Description
    SocketParam(String host, int port, byte encryption, byte compression, de.espirit.firstspirit.access.Proxy proxy)
    Constructs this container by the given arguments.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Compares this object to the given.
    byte
    Provides the compression type used.
    byte
    Provides the encryption type used.
    Provides the name of the host.
    int
    Provides the port of the socket.
    de.espirit.firstspirit.access.Proxy
    Provides information on a proxy to used.
    int
    Returns a hash code value for the object.
    Returns a string representation of the object.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • getHost

      public String getHost()
      Provides the name of the host.
      Returns:
      The host's name.
      Since:
      4.0.17
    • getPort

      public int getPort()
      Provides the port of the socket.
      Returns:
      The port.
      Since:
      4.0.17
    • getEncryption

      public byte getEncryption()
      Provides the encryption type used.
      Returns:
      The encryption type.
      Since:
      4.0.17
    • getCompression

      public byte getCompression()
      Provides the compression type used.
      Returns:
      The compression.
      Since:
      4.0.17
    • getProxy

      public de.espirit.firstspirit.access.Proxy getProxy()
      Provides information on a proxy to used.
      Returns:
      A proxy.
      Since:
      4.0.17
    • hashCode

      public int hashCode()
      Returns a hash code value for the object.
      Overrides:
      hashCode in class Object
      Returns:
      A hash code.
      Since:
      4.0.17
    • equals

      public boolean equals(Object o)
      Compares this object to the given.
      Overrides:
      equals in class Object
      Returns:
      true, if considered equal.
      Since:
      4.0.17
    • toString

      public String toString()
      Returns a string representation of the object.
      Overrides:
      toString in class Object
      Returns:
      A string.
      Since:
      4.0.17