PeerInfo MethodsNetworkComms.Net Help
The PeerInfo type exposes the following members.
Methods

  NameDescription
Public methodAddPeerIPEndPoint
Add new IPEndPoint for a peer. Returns true if successfully added, otherwise false.
Public methodCheckAllIPEndPointBusyFlags
Clear any busy flags set for the IPEndPoints of this peer if they are older than the provided MS
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodGetConnectionInfo
Returns a new list containing all peer ConnectionInfos
Public methodGetCurrentTimeoutCount
Return the current timeout count value.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodGetNewTimeoutCount
Returns the new timeout count value after incrementing the timeout count.
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodHasAtleastOneOnlineIPEndPoint
Returns true if this peer has at least one on line ipEndPoint
Public methodIsPeerIPEndPointBusy
Returns the current busy status of the requested peer IPEndPoint
Public methodIsPeerIPEndPointOnline
Returns true if the specified peer has the specified IPEndPoint online.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodPeerContainsIPEndPoint
Returns true if the provided IPEndPoint exists for this peer
Public methodRemovePeerIPEndPoint(ConnectionInfo)
Removes the provided connectionInfo from all internal dictionaries. Returns true if connectionInfo exists, otherwise false
Public methodRemovePeerIPEndPoint(ShortGuid, IPEndPoint)
Removes the provided connectionInfo from all internal dictionaries. Returns true if connectionInfo exists, otherwise false
Public methodSetPeerIPEndPointBusyStatus
Update the provided peer IPEndPoint busy status
Public methodSetPeerIPEndPointOnlineStatus
Update the provided peer IPEndPoint online status
Public methodToString
Returns a clean descriptor for this PeerInfo
(Overrides OnlineObject ToString .)
Back to Top
See Also