public static final class ConnectionManager.SocketParam extends Object
Constructor and Description |
---|
SocketParam(String host,
int port,
byte encryption,
byte compression,
de.espirit.firstspirit.access.Proxy proxy)
Constructs this container by the given arguments.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Compares this object to the given.
|
byte |
getCompression()
Provides the compression type used.
|
byte |
getEncryption()
Provides the encryption type used.
|
String |
getHost()
Provides the name of the host.
|
int |
getPort()
Provides the port of the socket.
|
de.espirit.firstspirit.access.Proxy |
getProxy()
Provides information on a proxy to used.
|
int |
hashCode()
Returns a hash code value for the object.
|
String |
toString()
Returns a string representation of the object.
|
public SocketParam(String host, int port, byte encryption, byte compression, de.espirit.firstspirit.access.Proxy proxy)
host
- The server host name.port
- The server port.encryption
- The used encryption, one of ConnectionManager.ENCRYPTION_NONE
, ConnectionManager.ENCRYPTION_TLS
, ConnectionManager.ENCRYPTION_DH_ARC4
.compression
- The used compression, one of ConnectionManager.COMPRESSION_NONE
, ConnectionManager.COMPRESSION_DEFLATE
, ConnectionManager.COMPRESSION_DEFLATE_BEST
, ConnectionManager.COMPRESSION_DEFLATE_SPEED
.proxy
- The proxy.public String getHost()
public int getPort()
public byte getEncryption()
public byte getCompression()
public de.espirit.firstspirit.access.Proxy getProxy()
public int hashCode()
public boolean equals(Object o)
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210