ServiceProxy

class catkit2.testbed.ServiceProxy(testbed, service_id)

Bases: catkit2.catkit_bindings.ServiceProxy

A proxy for a service connected to a server.

testbedTestbedProxy

A reference to the testbed. The service needs to be running on this testbed.

service_idstring

The id of the service.

Attributes Summary

testbed

Methods Summary

get_service_interface(interface_name)

Get the service proxy class belonging to an interface name.

Attributes Documentation

testbed

Methods Documentation

classmethod get_service_interface(interface_name)

Get the service proxy class belonging to an interface name.

If no interface is defined, return a default ServiceProxy class.

interface_namestring or None

The name of the interface.

derived class of ServiceProxy or ServiceProxy

The class belonging to the interface name.