CWS Wrapper Library  5.1.0
Public Member Functions | Static Public Member Functions | Public Attributes | Properties | List of all members
CWSWrapper.InetAddress Class Reference

Contains information used to make TCP/IP connections. More...

Public Member Functions

 InetAddress (string host, int port, string eS)
 Initializes an INET address to be used for a TCP/IP connection. More...
 
 InetAddress (string host, int port, EncryptionScheme eS)
 Initializes an INET address to be used for a TCP/IP connection. More...
 

Static Public Member Functions

static EncryptionScheme EncryptionSchemefromString (string text)
 Returns the corresponding EncryptionScheme of the given string. If the string can not be parsed into a valid EncryptionScheme, the NONE EncryptionScheme is returned. More...
 

Public Attributes

string encryptionSchemeStringValue
 The encryption scheme used to communicate (e.g. TLS_12). More...
 

Properties

string host [get, set]
 The IP adddress of the host machine. More...
 
int port [get, set]
 The port on the host machine used to communicate. More...
 
EncryptionScheme encryptionScheme [get, set]
 The encryption scheme used to communicate (e.g. TLS_12). More...
 

Detailed Description

Contains information used to make TCP/IP connections.

Constructor & Destructor Documentation

◆ InetAddress() [1/2]

CWSWrapper.InetAddress.InetAddress ( string  host,
int  port,
string  eS 
)
inline

Initializes an INET address to be used for a TCP/IP connection.

Parameters
hostThe IP of the host machine.
portThe port used to communicate over.
eSThe encryption scheme used.

◆ InetAddress() [2/2]

CWSWrapper.InetAddress.InetAddress ( string  host,
int  port,
EncryptionScheme  eS 
)
inline

Initializes an INET address to be used for a TCP/IP connection.

Parameters
hostThe IP of the host machine.
portThe port used to communicate over.
eSThe encryption scheme used.

Member Function Documentation

◆ EncryptionSchemefromString()

static EncryptionScheme CWSWrapper.InetAddress.EncryptionSchemefromString ( string  text)
inlinestatic

Returns the corresponding EncryptionScheme of the given string. If the string can not be parsed into a valid EncryptionScheme, the NONE EncryptionScheme is returned.

Parameters
textThe string to be parsed.
Returns
The appropriate encryption scheme for the string.

Member Data Documentation

◆ encryptionSchemeStringValue

string CWSWrapper.InetAddress.encryptionSchemeStringValue

The encryption scheme used to communicate (e.g. TLS_12).

Property Documentation

◆ encryptionScheme

EncryptionScheme CWSWrapper.InetAddress.encryptionScheme
getset

The encryption scheme used to communicate (e.g. TLS_12).

◆ host

string CWSWrapper.InetAddress.host
getset

The IP adddress of the host machine.

◆ port

int CWSWrapper.InetAddress.port
getset

The port on the host machine used to communicate.


The documentation for this class was generated from the following file: