Atlas  0.7.0
Networking protocol for the Worldforge system.
atlas.transport.negotiation.Negotiation Class Reference
Inheritance diagram for atlas.transport.negotiation.Negotiation:
Collaboration diagram for atlas.transport.negotiation.Negotiation:

Public Member Functions

def __init__ (self, mode, codecs_lst, fp=None, id="")
 
def get_send_str (self)
 
def __call__ (self, str="")
 
def process_line (self, line)
 
def collect_until_newline (self)
 
def iwill (self, codecs)
 
def ican (self, codecs)
 
def analyse_line_codecs (self, line)
 
def fail (self, msg)
 
def get_codec (self)
 

Public Attributes

 mode
 
 codecs
 
 fp
 
 id
 
 send_str
 
 selected_codec
 
 other_codecs
 
 result_code
 
 other_id
 
 str
 
 state
 

Static Public Attributes

int state_done = 0
 
string state_id = "id"
 
string state_negotiation = "negotiation"
 
string state_found = "found"
 

Detailed Description

Definition at line 50 of file negotiation.py.


The documentation for this class was generated from the following file: