C# 클래스 ChatterBox.Client.Universal.Background.Helpers.AppServiceChannelHelper

파일 보기 프로젝트 열기: openpeer/ChatterBox

공개 메소드들

메소드 설명
HandleRequest ( AppServiceRequest request, object handler, string message ) : void

Invokes the method from the message on the handler object and sends back the return value

InvokeChannel ( this connection, Type contractType, object argument, string method ) : ValueSet

Sends a new message using the AppServiceConnection, containing the contract name, the method name and the serialized argument

InvokeChannel ( this connection, Type contractType, object argument, string method, Type responseType ) : object

Sends a new message using the AppServiceConnection, containing the contract name, the method name and the serialized argument. The response is deserialized as a object based on the specified response type

비공개 메소드들

메소드 설명
SendResponse ( AppServiceRequest request, InvocationResult result ) : System.Threading.Tasks.Task

Serializes and sends the response for the AppServiceRequest

메소드 상세

HandleRequest() 공개 정적인 메소드

Invokes the method from the message on the handler object and sends back the return value
public static HandleRequest ( AppServiceRequest request, object handler, string message ) : void
request AppServiceRequest
handler object
message string
리턴 void

InvokeChannel() 공개 정적인 메소드

Sends a new message using the AppServiceConnection, containing the contract name, the method name and the serialized argument
public static InvokeChannel ( this connection, Type contractType, object argument, string method ) : ValueSet
connection this
contractType System.Type
argument object
method string
리턴 ValueSet

InvokeChannel() 공개 정적인 메소드

Sends a new message using the AppServiceConnection, containing the contract name, the method name and the serialized argument. The response is deserialized as a object based on the specified response type
public static InvokeChannel ( this connection, Type contractType, object argument, string method, Type responseType ) : object
connection this
contractType System.Type
argument object
method string
responseType System.Type
리턴 object