java.lang.Object
io.mokamint.node.PeerInfos
Providers of peer information objects.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classGson decoder.static classGson encoder.static classJson representation. -
Method Summary
-
Method Details
-
of
Yields peer information with the given data.- Parameters:
peer- the peer described by the peer informationpoints- the points of the peerconnected- the connection status of the peer- Returns:
- the peer information
-