JsonRpc.Attach 메서드

정의

오버로드

Attach(Type)

지정된 서버 인터페이스를 준수하는 JSON-RPC 클라이언트 프록시를 만듭니다.

Attach(Stream, Object)

를 사용하여 serialize된 메시지 주위에 사용하고 HeaderDelimitedMessageHandler 즉시 수신 대기를 시작하는 클래스의 JsonRpcJsonMessageFormatter새 인스턴스를 초기화합니다.

Attach(Type, JsonRpcProxyOptions)

지정된 서버 인터페이스를 준수하는 JSON-RPC 클라이언트 프록시를 만듭니다.

Attach(Stream, Stream, Object)

를 사용하여 serialize된 메시지 주위에 사용하고 HeaderDelimitedMessageHandler 즉시 수신 대기를 시작하는 클래스의 JsonRpcJsonMessageFormatter새 인스턴스를 초기화합니다.

Attach<T>(Stream, Stream)

지정된 서버 인터페이스를 준수하는 JSON-RPC 클라이언트 프록시를 만듭니다.

Attach<T>(IJsonRpcMessageHandler, JsonRpcProxyOptions)

지정된 서버 인터페이스를 준수하는 JSON-RPC 클라이언트 프록시를 만듭니다.

Attach<T>(Stream)

지정된 서버 인터페이스를 준수하는 JSON-RPC 클라이언트 프록시를 만듭니다.

Attach<T>(IJsonRpcMessageHandler)

지정된 서버 인터페이스를 준수하는 JSON-RPC 클라이언트 프록시를 만듭니다.

Attach<T>()

지정된 서버 인터페이스를 준수하는 JSON-RPC 클라이언트 프록시를 만듭니다.

Attach<T>(JsonRpcProxyOptions)

지정된 서버 인터페이스를 준수하는 JSON-RPC 클라이언트 프록시를 만듭니다.

Attach(Type)

지정된 서버 인터페이스를 준수하는 JSON-RPC 클라이언트 프록시를 만듭니다.

public object Attach (Type interfaceType);
member this.Attach : Type -> obj
Public Function Attach (interfaceType As Type) As Object

매개 변수

interfaceType
Type

원격 엔드에서 사용할 수 있는 함수를 설명하는 인터페이스입니다.

반환

생성된 프록시의 인스턴스입니다.

적용 대상

Attach(Stream, Object)

를 사용하여 serialize된 메시지 주위에 사용하고 HeaderDelimitedMessageHandler 즉시 수신 대기를 시작하는 클래스의 JsonRpcJsonMessageFormatter새 인스턴스를 초기화합니다.

public static StreamJsonRpc.JsonRpc Attach (System.IO.Stream stream, object target = default);
public static StreamJsonRpc.JsonRpc Attach (System.IO.Stream stream, object? target = default);
static member Attach : System.IO.Stream * obj -> StreamJsonRpc.JsonRpc
Public Shared Function Attach (stream As Stream, Optional target As Object = Nothing) As JsonRpc

매개 변수

stream
Stream

RPC 메시지를 보내고 받을 양방향 스트림입니다.

target
Object

들어오는 RPC 요청이 도착할 때 호출할 선택적 대상 개체입니다.

반환

초기화되고 수신 대기하는 개체입니다 JsonRpc .

적용 대상

Attach(Type, JsonRpcProxyOptions)

지정된 서버 인터페이스를 준수하는 JSON-RPC 클라이언트 프록시를 만듭니다.

public object Attach (Type interfaceType, StreamJsonRpc.JsonRpcProxyOptions options);
public object Attach (Type interfaceType, StreamJsonRpc.JsonRpcProxyOptions? options);
member this.Attach : Type * StreamJsonRpc.JsonRpcProxyOptions -> obj
Public Function Attach (interfaceType As Type, options As JsonRpcProxyOptions) As Object

매개 변수

interfaceType
Type

원격 엔드에서 사용할 수 있는 함수를 설명하는 인터페이스입니다.

options
JsonRpcProxyOptions

클라이언트 프록시를 연결하는 방법에 대한 사용자 지정 집합입니다. null이면 기본 옵션이 사용됩니다.

반환

생성된 프록시의 인스턴스입니다.

적용 대상

Attach(Stream, Stream, Object)

를 사용하여 serialize된 메시지 주위에 사용하고 HeaderDelimitedMessageHandler 즉시 수신 대기를 시작하는 클래스의 JsonRpcJsonMessageFormatter새 인스턴스를 초기화합니다.

public static StreamJsonRpc.JsonRpc Attach (System.IO.Stream sendingStream, System.IO.Stream receivingStream, object target = default);
public static StreamJsonRpc.JsonRpc Attach (System.IO.Stream? sendingStream, System.IO.Stream? receivingStream, object? target = default);
static member Attach : System.IO.Stream * System.IO.Stream * obj -> StreamJsonRpc.JsonRpc
Public Shared Function Attach (sendingStream As Stream, receivingStream As Stream, Optional target As Object = Nothing) As JsonRpc

매개 변수

sendingStream
Stream

메시지를 전송하는 데 사용되는 스트림입니다. null일 수 있습니다.

receivingStream
Stream

메시지를 받는 데 사용되는 스트림입니다. null일 수 있습니다.

target
Object

들어오는 RPC 요청이 도착할 때 호출할 선택적 대상 개체입니다.

반환

초기화되고 수신 대기하는 개체입니다 JsonRpc .

적용 대상

Attach<T>(Stream, Stream)

지정된 서버 인터페이스를 준수하는 JSON-RPC 클라이언트 프록시를 만듭니다.

public static T Attach<T> (System.IO.Stream sendingStream, System.IO.Stream receivingStream) where T : class;
public static T Attach<T> (System.IO.Stream? sendingStream, System.IO.Stream? receivingStream) where T : class;
static member Attach : System.IO.Stream * System.IO.Stream -> 'T (requires 'T : null)
Public Shared Function Attach(Of T As Class) (sendingStream As Stream, receivingStream As Stream) As T

형식 매개 변수

T

원격 엔드에서 사용할 수 있는 함수를 설명하는 인터페이스입니다.

매개 변수

sendingStream
Stream

메시지를 전송하는 데 사용되는 스트림입니다. null일 수 있습니다.

receivingStream
Stream

메시지를 받는 데 사용되는 스트림입니다. null일 수 있습니다.

반환

T

생성된 프록시의 인스턴스입니다. 구현 T외에도 연결을 닫기 위해 구현 IDisposable 하고 삭제해야 합니다.

적용 대상

Attach<T>(IJsonRpcMessageHandler, JsonRpcProxyOptions)

지정된 서버 인터페이스를 준수하는 JSON-RPC 클라이언트 프록시를 만듭니다.

public static T Attach<T> (StreamJsonRpc.IJsonRpcMessageHandler handler, StreamJsonRpc.JsonRpcProxyOptions options) where T : class;
public static T Attach<T> (StreamJsonRpc.IJsonRpcMessageHandler handler, StreamJsonRpc.JsonRpcProxyOptions? options) where T : class;
static member Attach : StreamJsonRpc.IJsonRpcMessageHandler * StreamJsonRpc.JsonRpcProxyOptions -> 'T (requires 'T : null)
Public Shared Function Attach(Of T As Class) (handler As IJsonRpcMessageHandler, options As JsonRpcProxyOptions) As T

형식 매개 변수

T

원격 엔드에서 사용할 수 있는 함수를 설명하는 인터페이스입니다.

매개 변수

handler
IJsonRpcMessageHandler

사용할 메시지 처리기입니다.

options
JsonRpcProxyOptions

클라이언트 프록시를 연결하는 방법에 대한 사용자 지정 집합입니다. null이면 기본 옵션이 사용됩니다.

반환

T

생성된 프록시의 인스턴스입니다. 구현 T외에도 연결을 닫기 위해 구현 IDisposable 하고 삭제해야 합니다.

적용 대상

Attach<T>(Stream)

지정된 서버 인터페이스를 준수하는 JSON-RPC 클라이언트 프록시를 만듭니다.

public static T Attach<T> (System.IO.Stream stream) where T : class;
static member Attach : System.IO.Stream -> 'T (requires 'T : null)
Public Shared Function Attach(Of T As Class) (stream As Stream) As T

형식 매개 변수

T

원격 엔드에서 사용할 수 있는 함수를 설명하는 인터페이스입니다.

매개 변수

stream
Stream

JSON-RPC 메시지를 보내고 받는 데 사용되는 양방향 스트림입니다.

반환

T

생성된 프록시의 인스턴스입니다. 구현 T외에도 연결을 닫기 위해 구현 IDisposable 하고 삭제해야 합니다.

적용 대상

Attach<T>(IJsonRpcMessageHandler)

지정된 서버 인터페이스를 준수하는 JSON-RPC 클라이언트 프록시를 만듭니다.

public static T Attach<T> (StreamJsonRpc.IJsonRpcMessageHandler handler) where T : class;
static member Attach : StreamJsonRpc.IJsonRpcMessageHandler -> 'T (requires 'T : null)
Public Shared Function Attach(Of T As Class) (handler As IJsonRpcMessageHandler) As T

형식 매개 변수

T

원격 엔드에서 사용할 수 있는 함수를 설명하는 인터페이스입니다.

매개 변수

handler
IJsonRpcMessageHandler

사용할 메시지 처리기입니다.

반환

T

생성된 프록시의 인스턴스입니다. 구현 T외에도 연결을 닫기 위해 구현 IDisposable 하고 삭제해야 합니다.

적용 대상

Attach<T>()

지정된 서버 인터페이스를 준수하는 JSON-RPC 클라이언트 프록시를 만듭니다.

public T Attach<T> () where T : class;
member this.Attach : unit -> 'T (requires 'T : null)
Public Function Attach(Of T As Class) () As T

형식 매개 변수

T

원격 엔드에서 사용할 수 있는 함수를 설명하는 인터페이스입니다.

반환

T

생성된 프록시의 인스턴스입니다.

적용 대상

Attach<T>(JsonRpcProxyOptions)

지정된 서버 인터페이스를 준수하는 JSON-RPC 클라이언트 프록시를 만듭니다.

public T Attach<T> (StreamJsonRpc.JsonRpcProxyOptions options) where T : class;
public T Attach<T> (StreamJsonRpc.JsonRpcProxyOptions? options) where T : class;
member this.Attach : StreamJsonRpc.JsonRpcProxyOptions -> 'T (requires 'T : null)
Public Function Attach(Of T As Class) (options As JsonRpcProxyOptions) As T

형식 매개 변수

T

원격 엔드에서 사용할 수 있는 함수를 설명하는 인터페이스입니다.

매개 변수

options
JsonRpcProxyOptions

클라이언트 프록시를 연결하는 방법에 대한 사용자 지정 집합입니다. null이면 기본 옵션이 사용됩니다.

반환

T

생성된 프록시의 인스턴스입니다.

적용 대상