Model Railroad System  2.2.2
Public Member Functions | Private Attributes | List of all members
Satellite Class Reference

Satellite class. More...

Public Member Functions

 Satellite (name, hostname,...)
 Construct Satellite connection. More...
 
 remoteeval (...)
 Method to run a remote command. More...
 
 ~Satellite ()
 Clean up all data objects and free up all resources. More...
 

Private Attributes

 socket
 The connection socket. More...
 

Detailed Description

Satellite class.

This class implements the interface logic to connect to a Satellite daemon running on a slave computer.

Parameters
hostnameThe name or address of the slave.
...Options:
  • -port The port to use to connect. Readonly, default is 40000.
Author
Robert Heller <heller@deepsoft.com>

Constructor & Destructor Documentation

◆ Satellite()

Satellite::Satellite ( name  ,
hostname  ,
  ... 
)

Construct Satellite connection.

Parameters
hostnameThe name or address of the slave.
...Options:
  • -port The port to use to connect. Readonly, default is 40000.

◆ ~Satellite()

Satellite::~Satellite ( )

Clean up all data objects and free up all resources.

Member Function Documentation

◆ remoteeval()

Satellite::remoteeval (   ...)

Method to run a remote command.

Parameters
...Command list.
Returns
The result of the remote command.

Member Data Documentation

◆ socket

Satellite::socket
private

The connection socket.