Class: ConnectionType

ConnectionType

Enumerates connection types. Based on enums.h in monero-project.

Members

(static) I2P

I2P connection type (value=4).
Source:

(static) INVALID

Invalid connection type (value=0).
Source:

(static) IPV4

IPV4 connection type (value=1).
Source:

(static) IPV6

IPV6 connection type (value=2).
Source:

(static) TOR

TOR connection type (value=3).
Source:

Methods

(static) isValid()

Indicates if the given connection type is valid or not.
Source:

(static) validate()

Asserts that the given connection type is valid.
Source: