Package lacewing :: Package packetloaders :: Module ping
[frames] | no frames]

Source Code for Module lacewing.packetloaders.ping

 1  """ 
 2  Server and client latency measuring. 
 3  """ 
 4   
 5  from lacewing.baseloader import _EmptyLoader 
 6   
7 -class Ping(_EmptyLoader):
8 """ 9 This is sent from the server when it wants to know the 10 latency between itself and the other end. 11 """
12
13 -class Pong(_EmptyLoader):
14 """ 15 This is a client response to the server ping. 16 """
17 18 __all__ = ['Ping', 'Pong'] 19