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
Afficher le fichier Open project: sidshetye/SerializersCompare Class Usage Examples

Protected Properties

Свойство Type Description
iprot_ Thrift.Protocol.TProtocol
oprot_ Thrift.Protocol.TProtocol
seqid_ int

Méthodes publiques

Méthode 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 méthode

public Begin_multiply ( AsyncCallback, callback, object state, int n1, int n2 ) : IAsyncResult
callback AsyncCallback,
state object
n1 int
n2 int
Résultat IAsyncResult

Client() public méthode

public Client ( TProtocol prot ) : System
prot Thrift.Protocol.TProtocol
Résultat System

Client() public méthode

public Client ( TProtocol iprot, TProtocol oprot ) : System
iprot Thrift.Protocol.TProtocol
oprot Thrift.Protocol.TProtocol
Résultat System

End_multiply() public méthode

public End_multiply ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
Résultat int

multiply() public méthode

public multiply ( int n1, int n2 ) : int
n1 int
n2 int
Résultat int

recv_multiply() public méthode

public recv_multiply ( ) : int
Résultat int

send_multiply() public méthode

public send_multiply ( AsyncCallback, callback, object state, int n1, int n2 ) : IAsyncResult
callback AsyncCallback,
state object
n1 int
n2 int
Résultat IAsyncResult

send_multiply() public méthode

public send_multiply ( int n1, int n2 ) : void
n1 int
n2 int
Résultat void

Property Details

iprot_ protected_oe property

protected TProtocol,Thrift.Protocol iprot_
Résultat Thrift.Protocol.TProtocol

oprot_ protected_oe property

protected TProtocol,Thrift.Protocol oprot_
Résultat Thrift.Protocol.TProtocol

seqid_ protected_oe property

protected int seqid_
Résultat int