C# 클래스 MultiplicationService.Client, SerializersCompare

Thrift doesn't support object/struct inheritence (see http://thrift.apache.org/docs/features/) So we have to manually define the resulting inherited structure here To build the code-gen .cs files run \packages\Thrift.0.9.0.0\tools\thrift-0.9.0.exe -gen csharp SimpleAndInheritedEntity.thrift You need to have NuGet restore the packages to have those tools because Thrift is a NuGet package in this project
상속: Iface
파일 보기 프로젝트 열기: sidshetye/SerializersCompare 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
iprot_ Thrift.Protocol.TProtocol
oprot_ Thrift.Protocol.TProtocol
seqid_ int

공개 메소드들

메소드 설명
Begin_multiply ( AsyncCallback, callback, object state, int n1, int n2 ) : IAsyncResult
Client ( TProtocol prot ) : System
Client ( TProtocol iprot, TProtocol oprot ) : System
End_multiply ( IAsyncResult asyncResult ) : int
multiply ( int n1, int n2 ) : int
recv_multiply ( ) : int
send_multiply ( AsyncCallback, callback, object state, int n1, int n2 ) : IAsyncResult
send_multiply ( int n1, int n2 ) : void

메소드 상세

Begin_multiply() 공개 메소드

public Begin_multiply ( AsyncCallback, callback, object state, int n1, int n2 ) : IAsyncResult
callback AsyncCallback,
state object
n1 int
n2 int
리턴 IAsyncResult

Client() 공개 메소드

public Client ( TProtocol prot ) : System
prot Thrift.Protocol.TProtocol
리턴 System

Client() 공개 메소드

public Client ( TProtocol iprot, TProtocol oprot ) : System
iprot Thrift.Protocol.TProtocol
oprot Thrift.Protocol.TProtocol
리턴 System

End_multiply() 공개 메소드

public End_multiply ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
리턴 int

multiply() 공개 메소드

public multiply ( int n1, int n2 ) : int
n1 int
n2 int
리턴 int

recv_multiply() 공개 메소드

public recv_multiply ( ) : int
리턴 int

send_multiply() 공개 메소드

public send_multiply ( AsyncCallback, callback, object state, int n1, int n2 ) : IAsyncResult
callback AsyncCallback,
state object
n1 int
n2 int
리턴 IAsyncResult

send_multiply() 공개 메소드

public send_multiply ( int n1, int n2 ) : void
n1 int
n2 int
리턴 void

프로퍼티 상세

iprot_ 보호되어 있는 프로퍼티

protected TProtocol,Thrift.Protocol iprot_
리턴 Thrift.Protocol.TProtocol

oprot_ 보호되어 있는 프로퍼티

protected TProtocol,Thrift.Protocol oprot_
리턴 Thrift.Protocol.TProtocol

seqid_ 보호되어 있는 프로퍼티

protected int seqid_
리턴 int