Encrypted Socket Manager

constructor(host: String, serverPort: Int, cipher: T)

Constructor to init EncryptedSocketManager

Parameters

host

: server host used in the communication

serverPort

: server port used in the communication

cipher

: cipher to manage the encryption or decryption during the communication


constructor(allowMultipleListeners: Boolean, cipher: T)

Constructor to init EncryptedSocketManager

Parameters

allowMultipleListeners

: whether accept multiple listeners at the same time

cipher

: cipher to manage the encryption or decryption during the communication

Throws

when an error occurred