C# Class NSoft.NFramework.DataServices.Clients.ClientTool

Mostra file Open project: debop/NFramework

Public Methods

Method Description
Execute ( this client, RequestMessage requestMessage, Uri uri, string productName ) : ResponseMessage
Execute ( this client, RequestMessage requestMessage, string productName ) : ResponseMessage
Execute ( this client, RequestMessage requestMessage, Uri uri, string productName, TaskCompletionSource tcs ) : Task
ExecuteTask ( this client, RequestMessage requestMessage, string productName, TaskCompletionSource tcs ) : Task
PingTask ( this client, TaskCompletionSource tcs ) : Task

Private Methods

Method Description
ClientTool ( ) : NSoft.NFramework.DataServices.Messages
ResolveRequestSerializer ( string productName ) : ISerializer
ResolveResponseSerializer ( string productName ) : ISerializer

Method Details

Execute() public static method

public static Execute ( this client, RequestMessage requestMessage, Uri uri, string productName ) : ResponseMessage
client this
requestMessage NSoft.NFramework.DataServices.Messages.RequestMessage
uri System.Uri
productName string
return NSoft.NFramework.DataServices.Messages.ResponseMessage

Execute() public static method

public static Execute ( this client, RequestMessage requestMessage, string productName ) : ResponseMessage
client this
requestMessage NSoft.NFramework.DataServices.Messages.RequestMessage
productName string
return NSoft.NFramework.DataServices.Messages.ResponseMessage

Execute() public static method

public static Execute ( this client, RequestMessage requestMessage, Uri uri, string productName, TaskCompletionSource tcs ) : Task
client this
requestMessage NSoft.NFramework.DataServices.Messages.RequestMessage
uri System.Uri
productName string
tcs TaskCompletionSource
return Task

ExecuteTask() public static method

public static ExecuteTask ( this client, RequestMessage requestMessage, string productName, TaskCompletionSource tcs ) : Task
client this
requestMessage NSoft.NFramework.DataServices.Messages.RequestMessage
productName string
tcs TaskCompletionSource
return Task

PingTask() public static method

public static PingTask ( this client, TaskCompletionSource tcs ) : Task
client this
tcs TaskCompletionSource
return Task