TML Messaging Suite  1.1.5
Python Extension
 All Data Structures Namespaces Functions Variables Groups Pages
Public Member Functions | Data Fields
TMLCore Class Reference

TML Core ObjectThe TMLCore manages all communication of a peer using a single TCP/IP port. More...

Inheritance diagram for TMLCore:

Public Member Functions

def __init__
 Constructor of TMLCore. More...
 
def __del__
 Shutdown and close the TML core. More...
 
def close
 Close TMLCore and cleanup depending objects. More...
 
def call_sync
 Send a synchronous TML message. More...
 
def call_async
 Send a asynchronous TML message. More...
 

Data Fields

 core_handle
 [int] TML core handle More...
 
 profiles
 [tml.profile.TMLProfiles] access interfaces More...
 
 listener_binding
 [str] <host>:<port> More...
 
 listener_enabled
 [bool] True if the TML listener is started More...
 
 max_queued_events
 [int] maximum queue size for sending events More...
 
 max_bal_fail_count
 [int] maximum load balancing connection fail count More...
 
 on_cmd_ready
 [function, method] a callback routine for command ready handling More...
 
 on_progress
 [function, method] a callback routine to handle progress More...
 
 on_status_reply
 [function, method] status reply handler More...
 

Detailed Description

TML Core Object

The TMLCore manages all communication of a peer using a single TCP/IP port.

Normally one TMLCore instance per process is enough. Multiple cores are possible, but normally not necessary.