ProtocolConnection.withEncryptionMethodAndHostnameAndPort constructor

ProtocolConnection.withEncryptionMethodAndHostnameAndPort(
  1. String encryptionMethod,
  2. String hostname,
  3. int port
)
Initializes a new instance of the The encryption method. The hostname. The port number to use for the portocol.

Implementation

ProtocolConnection.withEncryptionMethodAndHostnameAndPort(
    String encryptionMethod, String hostname, int port) {
  this._encryptionMethod = encryptionMethod;
  this._hostname = hostname;
  this._port = port;
}