Package cobra :: Class CobraClientSocket
[hide private]
[frames] | no frames]

Class CobraClientSocket

source code


Instance Methods [hide private]
 
__init__(self, sockctor, retrymax=cobra_retrymax, sflags=0, authinfo=None) source code
 
reConnect(self)
Handle the event where we need to reconnect
source code
 
cobraTransaction(self, mtype, objname, data)
This is an API for clients to use.
source code

Inherited from CobraSocket: getPeerName, getSockName, recvExact, recvMessage, sendExact, sendMessage

Method Details [hide private]

__init__(self, sockctor, retrymax=cobra_retrymax, sflags=0, authinfo=None)
(Constructor)

source code 
Overrides: CobraSocket.__init__

cobraTransaction(self, mtype, objname, data)

source code 

This is an API for clients to use. It will retransmit a sendMessage() automagically on recpt of an exception in recvMessage()