C# Class Netsy.Services.ServerService

Implementation of the server service
Inheritance: IServerService
Exibir arquivo Open project: AnthonySteele/Netsy Class Usage Examples

Public Methods

Method Description
GetMethodTable ( ) : IAsyncResult

Get a list of all methods available.

GetServerEpoch ( ) : IAsyncResult

Get server time, in epoch seconds notation.

Ping ( ) : IAsyncResult

Check that the server is alive.

ServerService ( EtsyContext etsyContext ) : System

Initializes a new instance of the ServerService class

ServerService ( EtsyContext etsyContext, IDataRetriever dataRetriever ) : System

Initializes a new instance of the ServerService class

Method Details

GetMethodTable() public method

Get a list of all methods available.
public GetMethodTable ( ) : IAsyncResult
return IAsyncResult

GetServerEpoch() public method

Get server time, in epoch seconds notation.
public GetServerEpoch ( ) : IAsyncResult
return IAsyncResult

Ping() public method

Check that the server is alive.
public Ping ( ) : IAsyncResult
return IAsyncResult

ServerService() public method

Initializes a new instance of the ServerService class
public ServerService ( EtsyContext etsyContext ) : System
etsyContext Netsy.DataModel.EtsyContext the etsy context to use
return System

ServerService() public method

Initializes a new instance of the ServerService class
public ServerService ( EtsyContext etsyContext, IDataRetriever dataRetriever ) : System
etsyContext Netsy.DataModel.EtsyContext the etsy context to use
dataRetriever IDataRetriever the data retriever to use
return System