nimiqclient.models.peer.PeerConnectionState¶
- class nimiqclient.models.peer.PeerConnectionState(value)[source]¶
Bases:
int,EnumPeer connection state returned by the server.
Attributes
New connection.
Connecting.
Connected.
Negotiating connection.
Connection established.
Connection closed.
- CLOSED = 6¶
Connection closed.
- CONNECTED = 3¶
Connected.
- CONNECTING = 2¶
Connecting.
- ESTABLISHED = 5¶
Connection established.
- NEGOTIATING = 4¶
Negotiating connection.
- NEW = 1¶
New connection.