C# 클래스 RemotingSamples.Client

파일 보기 프로젝트 열기: gbarnett/shared-source-cli-2.0 1 사용 예제들

공개 메소드들

메소드 설명
ByRefCallBack ( IAsyncResult ar ) : void

Callback handler used in ClientInvokeMethod().

ByValCallBack ( IAsyncResult ar ) : void
Client ( ChannelKind ChanKind, Type ObjType, CallingConvention CallConv, InvokeKind InvKind, string Host ) : System

Only constructor.

ClientInvoke ( object RemoteObj ) : void

Sequential invocation method.

ClientInvokeAsync ( object RemoteObj ) : void

Used by AsyncClient.Run() to invoke the proxy method repeatedly.

RegisterBackPortChannels ( ) : void
Run ( ) : void

The main execution code for invoking the server. - Opens the specified channel. - Creates the proxy object. - Calls ClientInvokeMethod or ClientInvokeMethodAsync to invoke the output method on the proxy.

UnregisterBackPortChannels ( ) : void

메소드 상세

ByRefCallBack() 공개 메소드

Callback handler used in ClientInvokeMethod().
public ByRefCallBack ( IAsyncResult ar ) : void
ar IAsyncResult
리턴 void

ByValCallBack() 공개 메소드

public ByValCallBack ( IAsyncResult ar ) : void
ar IAsyncResult
리턴 void

Client() 공개 메소드

Only constructor.
public Client ( ChannelKind ChanKind, Type ObjType, CallingConvention CallConv, InvokeKind InvKind, string Host ) : System
ChanKind ChannelKind
ObjType System.Type
CallConv CallingConvention
InvKind InvokeKind
Host string
리턴 System

ClientInvoke() 공개 메소드

Sequential invocation method.
public ClientInvoke ( object RemoteObj ) : void
RemoteObj object
리턴 void

ClientInvokeAsync() 공개 메소드

Used by AsyncClient.Run() to invoke the proxy method repeatedly.
public ClientInvokeAsync ( object RemoteObj ) : void
RemoteObj object
리턴 void

RegisterBackPortChannels() 정적인 공개 메소드

static public RegisterBackPortChannels ( ) : void
리턴 void

Run() 공개 메소드

The main execution code for invoking the server. - Opens the specified channel. - Creates the proxy object. - Calls ClientInvokeMethod or ClientInvokeMethodAsync to invoke the output method on the proxy.
public Run ( ) : void
리턴 void

UnregisterBackPortChannels() 정적인 공개 메소드

static public UnregisterBackPortChannels ( ) : void
리턴 void