C# Class 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
Inheritance: Iface
Datei anzeigen Open project: sidshetye/SerializersCompare Class Usage Examples

Protected Properties

Property Type Description
iprot_ Thrift.Protocol.TProtocol
oprot_ Thrift.Protocol.TProtocol
seqid_ int

Public Methods

Method Description
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

Method Details

Begin_multiply() public method

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

Client() public method

public Client ( TProtocol prot ) : System
prot Thrift.Protocol.TProtocol
return System

Client() public method

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

End_multiply() public method

public End_multiply ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
return int

multiply() public method

public multiply ( int n1, int n2 ) : int
n1 int
n2 int
return int

recv_multiply() public method

public recv_multiply ( ) : int
return int

send_multiply() public method

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

send_multiply() public method

public send_multiply ( int n1, int n2 ) : void
n1 int
n2 int
return void

Property Details

iprot_ protected_oe property

protected TProtocol,Thrift.Protocol iprot_
return Thrift.Protocol.TProtocol

oprot_ protected_oe property

protected TProtocol,Thrift.Protocol oprot_
return Thrift.Protocol.TProtocol

seqid_ protected_oe property

protected int seqid_
return int