Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
AddressInfo.cs
1
using
System;
2
using
System.Collections.Generic;
3
using
System.Text;
4
using
System.Threading.Tasks;
5
6
namespace
Waher.Networking.XMPP.P2P
7
{
11
public
class
AddressInfo
12
{
13
private
readonly
string
xmppAddress;
14
private
readonly
string
externalIp;
15
private
readonly
string
localIp;
16
private
readonly
int
externalPort;
17
private
readonly
int
localPort;
18
27
public
AddressInfo
(
string
XmppAddress
,
string
ExternalIp
,
int
ExternalPort
,
string
LocalIp
,
int
LocalPort
)
28
{
29
this.xmppAddress =
XmppAddress
;
30
this.externalIp =
ExternalIp
;
31
this.externalPort =
ExternalPort
;
32
this.localIp =
LocalIp
;
33
this.localPort =
LocalPort
;
34
}
35
39
public
string
XmppAddress
=> this.xmppAddress;
40
44
public
string
ExternalIp
=> this.externalIp;
45
49
public
int
ExternalPort
=> this.externalPort;
50
54
public
string
LocalIp
=> this.localIp;
55
59
public
int
LocalPort
=> this.localPort;
60
}
61
}
Waher.Networking.XMPP.P2P.AddressInfo
Contains information about peer addresses.
Definition:
AddressInfo.cs:12
Waher.Networking.XMPP.P2P.AddressInfo.AddressInfo
AddressInfo(string XmppAddress, string ExternalIp, int ExternalPort, string LocalIp, int LocalPort)
Contains information about peer addresses.
Definition:
AddressInfo.cs:27
Waher.Networking.XMPP.P2P.AddressInfo.LocalPort
int LocalPort
Local Port Number.
Definition:
AddressInfo.cs:59
Waher.Networking.XMPP.P2P.AddressInfo.ExternalPort
int ExternalPort
External Port Number.
Definition:
AddressInfo.cs:49
Waher.Networking.XMPP.P2P.AddressInfo.XmppAddress
string XmppAddress
XMPP Address (Bare JID).
Definition:
AddressInfo.cs:39
Waher.Networking.XMPP.P2P.AddressInfo.ExternalIp
string ExternalIp
External IP Address.
Definition:
AddressInfo.cs:44
Waher.Networking.XMPP.P2P.AddressInfo.LocalIp
string LocalIp
Local IP Address.
Definition:
AddressInfo.cs:54
Waher.Networking.XMPP.P2P
Definition:
AddressInfo.cs:7
IoTGateway
Networking
Waher.Networking.XMPP.P2P
AddressInfo.cs
Generated by
1.9.5