- 
                Notifications
    
You must be signed in to change notification settings  - Fork 23
 
QuantumGate::Endpoint
        Karel Donk edited this page Dec 25, 2021 
        ·
        2 revisions
      
    QuantumGate::Endpoint is a class that represents an endpoint on the QuantumGate network. All peers on the network can be represented by an endpoint.
| Name | Description | 
|---|---|
Constructor | 
Constructs an Endpoint object. | 
operator= | 
Assigns a value from another Endpoint. | 
GetType | 
Returns the endpoint type. | 
GetProtocol | 
Returns the protocol of the endpoint. | 
GetAddressFamily | 
Returns the address family of the endpoint. | 
GetIPEndpoint | 
Returns a reference to the contained IP endpoint. | 
GetBTHEndpoint | 
Returns a reference to the contained Bluetooth endpoint. | 
GetRelayPort | 
Returns the relay port of the endpoint. | 
GetRelayHop | 
Returns the relay hop position of the endpoint. | 
GetString | 
Returns the endpoint in string format. | 
operator==, operator!=
 | 
Compares the Endpoint to another. | 
operator<< | 
Outputs the Endpoint to the stream. |