Package qb :: Module remoteMessaging :: Class RemoteMessagingSocketHandler
[hide private]
[frames] | no frames]

Class RemoteMessagingSocketHandler

source code


Instance Methods [hide private]
 
send(self, s)
Send a pickled string to the socket.
source code
 
handleError(self, record)
Handle an error during logging.
source code

Inherited from logging.handlers.SocketHandler: __init__, close, createSocket, emit, makePickle, makeSocket

Inherited from logging.Handler: acquire, createLock, flush, format, get_name, handle, release, setFormatter, setLevel, set_name

Inherited from logging.Filterer: addFilter, filter, removeFilter

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from logging.Handler: name

Inherited from object: __class__

Method Details [hide private]

send(self, s)

source code 

Send a pickled string to the socket.

This function allows for partial sends which can happen when the network is busy.

Overrides: logging.handlers.SocketHandler.send

handleError(self, record)

source code 

Handle an error during logging.

An error has occurred during logging. Most likely cause - connection lost. Close the socket so that we can retry on the next event.

Overrides: logging.Handler.handleError
(inherited documentation)