C# Class Terrarium.Services.Discovery.PeerDiscoveryService

Inheritance: System.Web.Services.Protocols.SoapHttpClientProtocol
Afficher le fichier Open project: eugeniomiro/Terrarium Class Usage Examples

Méthodes publiques

Méthode Description
BeginGetNumPeers ( string version, string channel, System callback, object asyncState ) : System.IAsyncResult
BeginGetTotalNumPeers ( System callback, object asyncState ) : System.IAsyncResult
BeginIsVersionDisabled ( string version, System callback, object asyncState ) : System.IAsyncResult
BeginRegisterMyPeerGetCountAndPeerList ( string version, string channel, System guid, System callback, object asyncState ) : System.IAsyncResult
BeginRegisterUser ( string email, System callback, object asyncState ) : System.IAsyncResult
BeginValidatePeer ( System callback, object asyncState ) : System.IAsyncResult
CancelAsync ( object userState ) : void
EndGetNumPeers ( System asyncResult ) : int
EndGetTotalNumPeers ( System asyncResult ) : int
EndIsVersionDisabled ( System asyncResult, string &errorMessage ) : bool
EndRegisterMyPeerGetCountAndPeerList ( System asyncResult, System &peers, int &count ) : RegisterPeerResult
EndRegisterUser ( System asyncResult ) : bool
EndValidatePeer ( System asyncResult ) : string
GetNumPeersAsync ( string version, string channel ) : void
GetNumPeersAsync ( string version, string channel, object userState ) : void
GetTotalNumPeersAsync ( ) : void
GetTotalNumPeersAsync ( object userState ) : void
IsVersionDisabledAsync ( string version ) : void
IsVersionDisabledAsync ( string version, object userState ) : void
PeerDiscoveryService ( )
RegisterMyPeerGetCountAndPeerListAsync ( string version, string channel, System guid ) : void
RegisterMyPeerGetCountAndPeerListAsync ( string version, string channel, System guid, object userState ) : void
RegisterUserAsync ( string email ) : void
RegisterUserAsync ( string email, object userState ) : void
ValidatePeerAsync ( ) : void
ValidatePeerAsync ( object userState ) : void

Private Methods

Méthode Description
GetNumPeers ( string version, string channel ) : int
GetTotalNumPeers ( ) : int
IsLocalFileSystemWebService ( string url ) : bool
IsVersionDisabled ( string version, string &errorMessage ) : bool
OnGetNumPeersOperationCompleted ( object arg ) : void
OnGetTotalNumPeersOperationCompleted ( object arg ) : void
OnIsVersionDisabledOperationCompleted ( object arg ) : void
OnRegisterMyPeerGetCountAndPeerListOperationCompleted ( object arg ) : void
OnRegisterUserOperationCompleted ( object arg ) : void
OnValidatePeerOperationCompleted ( object arg ) : void
RegisterMyPeerGetCountAndPeerList ( string version, string channel, System guid, System &peers, int &count ) : RegisterPeerResult
RegisterUser ( string email ) : bool
ValidatePeer ( ) : string

Method Details

BeginGetNumPeers() public méthode

public BeginGetNumPeers ( string version, string channel, System callback, object asyncState ) : System.IAsyncResult
version string
channel string
callback System
asyncState object
Résultat System.IAsyncResult

BeginGetTotalNumPeers() public méthode

public BeginGetTotalNumPeers ( System callback, object asyncState ) : System.IAsyncResult
callback System
asyncState object
Résultat System.IAsyncResult

BeginIsVersionDisabled() public méthode

public BeginIsVersionDisabled ( string version, System callback, object asyncState ) : System.IAsyncResult
version string
callback System
asyncState object
Résultat System.IAsyncResult

BeginRegisterMyPeerGetCountAndPeerList() public méthode

public BeginRegisterMyPeerGetCountAndPeerList ( string version, string channel, System guid, System callback, object asyncState ) : System.IAsyncResult
version string
channel string
guid System
callback System
asyncState object
Résultat System.IAsyncResult

BeginRegisterUser() public méthode

public BeginRegisterUser ( string email, System callback, object asyncState ) : System.IAsyncResult
email string
callback System
asyncState object
Résultat System.IAsyncResult

BeginValidatePeer() public méthode

public BeginValidatePeer ( System callback, object asyncState ) : System.IAsyncResult
callback System
asyncState object
Résultat System.IAsyncResult

CancelAsync() public méthode

public CancelAsync ( object userState ) : void
userState object
Résultat void

EndGetNumPeers() public méthode

public EndGetNumPeers ( System asyncResult ) : int
asyncResult System
Résultat int

EndGetTotalNumPeers() public méthode

public EndGetTotalNumPeers ( System asyncResult ) : int
asyncResult System
Résultat int

EndIsVersionDisabled() public méthode

public EndIsVersionDisabled ( System asyncResult, string &errorMessage ) : bool
asyncResult System
errorMessage string
Résultat bool

EndRegisterMyPeerGetCountAndPeerList() public méthode

public EndRegisterMyPeerGetCountAndPeerList ( System asyncResult, System &peers, int &count ) : RegisterPeerResult
asyncResult System
peers System
count int
Résultat RegisterPeerResult

EndRegisterUser() public méthode

public EndRegisterUser ( System asyncResult ) : bool
asyncResult System
Résultat bool

EndValidatePeer() public méthode

public EndValidatePeer ( System asyncResult ) : string
asyncResult System
Résultat string

GetNumPeersAsync() public méthode

public GetNumPeersAsync ( string version, string channel ) : void
version string
channel string
Résultat void

GetNumPeersAsync() public méthode

public GetNumPeersAsync ( string version, string channel, object userState ) : void
version string
channel string
userState object
Résultat void

GetTotalNumPeersAsync() public méthode

public GetTotalNumPeersAsync ( ) : void
Résultat void

GetTotalNumPeersAsync() public méthode

public GetTotalNumPeersAsync ( object userState ) : void
userState object
Résultat void

IsVersionDisabledAsync() public méthode

public IsVersionDisabledAsync ( string version ) : void
version string
Résultat void

IsVersionDisabledAsync() public méthode

public IsVersionDisabledAsync ( string version, object userState ) : void
version string
userState object
Résultat void

PeerDiscoveryService() public méthode

RegisterMyPeerGetCountAndPeerListAsync() public méthode

public RegisterMyPeerGetCountAndPeerListAsync ( string version, string channel, System guid ) : void
version string
channel string
guid System
Résultat void

RegisterMyPeerGetCountAndPeerListAsync() public méthode

public RegisterMyPeerGetCountAndPeerListAsync ( string version, string channel, System guid, object userState ) : void
version string
channel string
guid System
userState object
Résultat void

RegisterUserAsync() public méthode

public RegisterUserAsync ( string email ) : void
email string
Résultat void

RegisterUserAsync() public méthode

public RegisterUserAsync ( string email, object userState ) : void
email string
userState object
Résultat void

ValidatePeerAsync() public méthode

public ValidatePeerAsync ( ) : void
Résultat void

ValidatePeerAsync() public méthode

public ValidatePeerAsync ( object userState ) : void
userState object
Résultat void