C# Class Terrarium.Services.Discovery.PeerDiscoveryService

Inheritance: System.Web.Services.Protocols.SoapHttpClientProtocol
Datei anzeigen Open project: eugeniomiro/Terrarium Class Usage Examples

Public Methods

Method 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

Method 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 method

public BeginGetNumPeers ( string version, string channel, System callback, object asyncState ) : System.IAsyncResult
version string
channel string
callback System
asyncState object
return System.IAsyncResult

BeginGetTotalNumPeers() public method

public BeginGetTotalNumPeers ( System callback, object asyncState ) : System.IAsyncResult
callback System
asyncState object
return System.IAsyncResult

BeginIsVersionDisabled() public method

public BeginIsVersionDisabled ( string version, System callback, object asyncState ) : System.IAsyncResult
version string
callback System
asyncState object
return System.IAsyncResult

BeginRegisterMyPeerGetCountAndPeerList() public method

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

BeginRegisterUser() public method

public BeginRegisterUser ( string email, System callback, object asyncState ) : System.IAsyncResult
email string
callback System
asyncState object
return System.IAsyncResult

BeginValidatePeer() public method

public BeginValidatePeer ( System callback, object asyncState ) : System.IAsyncResult
callback System
asyncState object
return System.IAsyncResult

CancelAsync() public method

public CancelAsync ( object userState ) : void
userState object
return void

EndGetNumPeers() public method

public EndGetNumPeers ( System asyncResult ) : int
asyncResult System
return int

EndGetTotalNumPeers() public method

public EndGetTotalNumPeers ( System asyncResult ) : int
asyncResult System
return int

EndIsVersionDisabled() public method

public EndIsVersionDisabled ( System asyncResult, string &errorMessage ) : bool
asyncResult System
errorMessage string
return bool

EndRegisterMyPeerGetCountAndPeerList() public method

public EndRegisterMyPeerGetCountAndPeerList ( System asyncResult, System &peers, int &count ) : RegisterPeerResult
asyncResult System
peers System
count int
return RegisterPeerResult

EndRegisterUser() public method

public EndRegisterUser ( System asyncResult ) : bool
asyncResult System
return bool

EndValidatePeer() public method

public EndValidatePeer ( System asyncResult ) : string
asyncResult System
return string

GetNumPeersAsync() public method

public GetNumPeersAsync ( string version, string channel ) : void
version string
channel string
return void

GetNumPeersAsync() public method

public GetNumPeersAsync ( string version, string channel, object userState ) : void
version string
channel string
userState object
return void

GetTotalNumPeersAsync() public method

public GetTotalNumPeersAsync ( ) : void
return void

GetTotalNumPeersAsync() public method

public GetTotalNumPeersAsync ( object userState ) : void
userState object
return void

IsVersionDisabledAsync() public method

public IsVersionDisabledAsync ( string version ) : void
version string
return void

IsVersionDisabledAsync() public method

public IsVersionDisabledAsync ( string version, object userState ) : void
version string
userState object
return void

PeerDiscoveryService() public method

RegisterMyPeerGetCountAndPeerListAsync() public method

public RegisterMyPeerGetCountAndPeerListAsync ( string version, string channel, System guid ) : void
version string
channel string
guid System
return void

RegisterMyPeerGetCountAndPeerListAsync() public method

public RegisterMyPeerGetCountAndPeerListAsync ( string version, string channel, System guid, object userState ) : void
version string
channel string
guid System
userState object
return void

RegisterUserAsync() public method

public RegisterUserAsync ( string email ) : void
email string
return void

RegisterUserAsync() public method

public RegisterUserAsync ( string email, object userState ) : void
email string
userState object
return void

ValidatePeerAsync() public method

public ValidatePeerAsync ( ) : void
return void

ValidatePeerAsync() public method

public ValidatePeerAsync ( object userState ) : void
userState object
return void