hlcc 2.0.0-beta2+pre1
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
telif_subscriber.TelifSubscriber Class Reference

This is a test-utility for receiving ICD-Structs over MAL PubSub. More...

Public Member Functions

def __init__ (self)
 
def uplink (self, profile_file, participant, prefix, entity_fqn, uri)
 Setup factory and import entity class.
 
def entity_to_string (self, content)
 Convert object into json string.
 
def subscribe (self, profile_file, participant, prefix, entity_fqn, remote_uri, endafter=10, endifset={}, printall=False)
 

Static Public Member Functions

def main (arguments)
 Test entry point.
 

Detailed Description

This is a test-utility for receiving ICD-Structs over MAL PubSub.

Despite its name, it is not restrained to the telif interface, and could also be moved to the hlcc-utils package.

Constructor & Destructor Documentation

◆ __init__()

def telif_subscriber.TelifSubscriber.__init__ (   self)

Member Function Documentation

◆ entity_to_string()

def telif_subscriber.TelifSubscriber.entity_to_string (   self,
  content 
)

Convert object into json string.

◆ main()

def telif_subscriber.TelifSubscriber.main (   arguments)
static

Test entry point.

◆ subscribe()

def telif_subscriber.TelifSubscriber.subscribe (   self,
  profile_file,
  participant,
  prefix,
  entity_fqn,
  remote_uri,
  endafter = 10,
  endifset = {},
  printall = False 
)
Parameters
profile_fileProfile filename
participantParticipant name in the profile
prefixPrefix for subscriber/reader in the profile
entity_fqnentity classname (fully qualified), e.g. "ModCcsinsif.Ccsinsif.AltAz"
remote_uripublisher address, e.g. "dds.ps:///TELIF_CCS_TRG_OBS_ALTAZ"
endaftermax wait time (in secs)
endifsetwait for content (as dict), e.g. "{'alt':1.0,'az':2.0}"
printallprint all received data

◆ uplink()

def telif_subscriber.TelifSubscriber.uplink (   self,
  profile_file,
  participant,
  prefix,
  entity_fqn,
  uri 
)

Setup factory and import entity class.


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