C# Class Agnos.Protocol.ClientUtils

显示文件 Open project: tomerfiliba/agnos

Public Properties

Property Type Description
transport ITransport

Protected Properties

Property Type Description
_seq int
infinity System.DateTime
packedExceptionsMap Packers.AbstractPacker>.Dictionary
proxies WeakReference>.Dictionary
replies ReplySlot>.Dictionary

Public Methods

Method Description
BeginCall ( int funcid, Packers packer ) : int
CacheProxy ( long objref, object proxy ) : void
CancelCall ( ) : void
ClientUtils ( ITransport transport, Packers.AbstractPacker>.Dictionary packedExceptionsMap ) : System
Close ( ) : void
Decref ( long id ) : void
DiscardReply ( int seq ) : void
EndCall ( ) : void
GetProxy ( long objref ) : object
GetReply ( int seq ) : Object
GetReply ( int seq, int msecs ) : Object
GetServiceInfo ( int code ) : HeteroMap
IsReplyReady ( int seq ) : bool
Ping ( string payload, int msecs ) : int
ProcessIncoming ( int msecs ) : void

Protected Methods

Method Description
WaitReply ( int seq, int msecs ) : ReplySlot
getSeq ( ) : int
loadGenericException ( ) : GenericException
loadPackedException ( ) : PackedException
loadProtocolError ( ) : ProtocolError

Method Details

BeginCall() public method

public BeginCall ( int funcid, Packers packer ) : int
funcid int
packer Packers
return int

CacheProxy() public method

public CacheProxy ( long objref, object proxy ) : void
objref long
proxy object
return void

CancelCall() public method

public CancelCall ( ) : void
return void

ClientUtils() public method

public ClientUtils ( ITransport transport, Packers.AbstractPacker>.Dictionary packedExceptionsMap ) : System
transport ITransport
packedExceptionsMap Packers.AbstractPacker>.Dictionary
return System

Close() public method

public Close ( ) : void
return void

Decref() public method

public Decref ( long id ) : void
id long
return void

DiscardReply() public method

public DiscardReply ( int seq ) : void
seq int
return void

EndCall() public method

public EndCall ( ) : void
return void

GetProxy() public method

public GetProxy ( long objref ) : object
objref long
return object

GetReply() public method

public GetReply ( int seq ) : Object
seq int
return Object

GetReply() public method

public GetReply ( int seq, int msecs ) : Object
seq int
msecs int
return Object

GetServiceInfo() public method

public GetServiceInfo ( int code ) : HeteroMap
code int
return HeteroMap

IsReplyReady() public method

public IsReplyReady ( int seq ) : bool
seq int
return bool

Ping() public method

public Ping ( string payload, int msecs ) : int
payload string
msecs int
return int

ProcessIncoming() public method

public ProcessIncoming ( int msecs ) : void
msecs int
return void

WaitReply() protected method

protected WaitReply ( int seq, int msecs ) : ReplySlot
seq int
msecs int
return ReplySlot

getSeq() protected method

protected getSeq ( ) : int
return int

loadGenericException() protected method

protected loadGenericException ( ) : GenericException
return GenericException

loadPackedException() protected method

protected loadPackedException ( ) : PackedException
return PackedException

loadProtocolError() protected method

protected loadProtocolError ( ) : ProtocolError
return ProtocolError

Property Details

_seq protected_oe property

protected int _seq
return int

infinity protected_oe property

protected DateTime,System infinity
return System.DateTime

packedExceptionsMap protected_oe property

protected Dictionary packedExceptionsMap
return Packers.AbstractPacker>.Dictionary

proxies protected_oe property

protected Dictionary proxies
return WeakReference>.Dictionary

replies protected_oe property

protected Dictionary replies
return ReplySlot>.Dictionary

transport public_oe property

public ITransport transport
return ITransport