public class SslPeerDetailsImpl extends java.lang.Object implements ProtonJSslPeerDetails
SslPeerDetails.Factory| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
_hostname |
private int |
_port |
| Constructor and Description |
|---|
SslPeerDetailsImpl(java.lang.String hostname,
int port)
Deprecated.
This constructor's visibility will be reduced to the default scope in a future release.
Client code outside this module should use
SslPeerDetails.Factory.create(String, int) instead. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHostname() |
int |
getPort() |
@Deprecated
public SslPeerDetailsImpl(java.lang.String hostname,
int port)
SslPeerDetails.Factory.create(String, int) instead.public java.lang.String getHostname()
getHostname in interface SslPeerDetailspublic int getPort()
getPort in interface SslPeerDetails