The PeerInfo type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
PeerInfo |
Initialise a new PeerInfo
|
Methods
Name | Description | |
---|---|---|
AddPeerIPEndPoint |
Add new IPEndPoint for a peer. Returns true if successfully added, otherwise false.
| |
CheckAllIPEndPointBusyFlags |
Clear any busy flags set for the IPEndPoints of this peer if they are older than the provided MS
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetConnectionInfo |
Returns a new list containing all peer ConnectionInfos
| |
GetCurrentTimeoutCount |
Return the current timeout count value.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetNewTimeoutCount |
Returns the new timeout count value after incrementing the timeout count.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasAtleastOneOnlineIPEndPoint |
Returns true if this peer has at least one on line ipEndPoint
| |
IsPeerIPEndPointBusy |
Returns the current busy status of the requested peer IPEndPoint
| |
IsPeerIPEndPointOnline |
Returns true if the specified peer has the specified IPEndPoint online.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PeerContainsIPEndPoint |
Returns true if the provided IPEndPoint exists for this peer
| |
RemovePeerIPEndPoint(ConnectionInfo) |
Removes the provided connectionInfo from all internal dictionaries. Returns true if connectionInfo exists, otherwise false
| |
RemovePeerIPEndPoint(ShortGuid, IPEndPoint) |
Removes the provided connectionInfo from all internal dictionaries. Returns true if connectionInfo exists, otherwise false
| |
SetPeerIPEndPointBusyStatus |
Update the provided peer IPEndPoint busy status
| |
SetPeerIPEndPointOnlineStatus |
Update the provided peer IPEndPoint online status
| |
ToString |
Returns a clean descriptor for this PeerInfo
(Overrides Object ToString .) |
Properties
Name | Description | |
---|---|---|
NumberOfConnectionInfos |
Returns PeerConnectionInfo.Count
| |
PeerChunkFlags |
The chunk availability for this peer.
| |
PeerNetworkIdentifier |
Identifies this peer info
| |
SuperPeer |
For now the only extra info we want. A superPeer is generally busier network wise and should be contacted last for data.
|
See Also