Package Anomos :: Package Protocol :: Module AnomosEndPointProtocol :: Class AnomosEndPointProtocol
[hide private]
[frames] | no frames]

Class AnomosEndPointProtocol

source code

    object --+    
             |    
AnomosProtocol --+
                 |
                AnomosEndPointProtocol
Known Subclasses:

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
invalid_message(self, t) source code
 
transfer_ctl_msg(self, type, message='')
Send method for file transfer messages.
source code
 
got_confirm(self) source code
 
got_relay(self, message) source code
 
got_encrypted(self, message) source code
 
got_break(self) source code
 
got_ack_break(self) source code
 
got_partial(self, message) source code
 
got_choke(self) source code
 
got_unchoke(self) source code
 
got_interested(self) source code
 
got_not_interested(self) source code
 
got_have(self, message) source code
 
got_bitfield(self, message) source code
 
got_request(self, message) source code
 
got_cancel(self, message) source code
 
got_piece(self, message) source code
 
send_break(self) source code
 
send_ack_break(self) source code
 
send_confirm(self) source code
 
send_interested(self) source code
 
send_not_interested(self) source code
 
send_choke(self) source code
 
send_unchoke(self) source code
 
send_request(self, index, begin, length) source code
 
send_cancel(self, index, begin, length) source code
 
send_bitfield(self, bitfield) source code
 
send_have(self, index) source code
 
send_tracking_code(self, trackcode) source code
 
send_piece(self, index, begin, piece) source code

Inherited from AnomosProtocol: format_message, got_message, network_ctl_msg

Inherited from AnomosProtocol (private): _valid_msg_len

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

invalid_message(self, t)

source code 
Overrides: AnomosProtocol.invalid_message

transfer_ctl_msg(self, type, message='')

source code 

Send method for file transfer messages. ie. CHOKE, INTERESTED, PIECE