JS8Call-Improved master
Loading...
Searching...
No Matches
SpotClient Class Referencefinal
Inheritance diagram for SpotClient:
Collaboration diagram for SpotClient:

Public Member Functions

 SpotClient (QString const &host, quint16 port, QString const &version, QObject *parent=nullptr)
 Constructs a SpotClient object.
void start ()
void setLocalStation (QString const &callsign, QString const &grid, QString const &info)
 Sets the local station information.
void enqueueCmd (QString const &cmd, QString const &from, QString const &to, QString const &relayPath, QString const &text, QString const &grid, QString const &extra, int submode, int dial, int offset, int snr)
 Enqueues a command to be sent to the spot server.
void enqueueSpot (QString const &callsign, QString const &grid, int submode, int dial, int offset, int snr)
 Enqueues a spot to be sent to the spot server.
Q_SIGNAL void error (QString const &) const

Constructor & Destructor Documentation

◆ SpotClient()

SpotClient::SpotClient ( QString const & name,
quint16 port,
QString const & version,
QObject * parent = nullptr )

Constructs a SpotClient object.

Parameters
nameThe hostname of the spot server.
portThe port number of the spot server.
versionThe version string of the client.
parentThe parent QObject.

Member Function Documentation

◆ enqueueCmd()

void SpotClient::enqueueCmd ( QString const & cmd,
QString const & from,
QString const & to,
QString const & relayPath,
QString const & text,
QString const & grid,
QString const & extra,
int submode,
int dial,
int offset,
int snr )

Enqueues a command to be sent to the spot server.

Parameters
cmdThe command string.
fromThe sender callsign.
toThe recipient callsign.
relayPathThe relay path.
textThe message text.
gridThe grid locator.
extraAdditional information.
submodeThe submode identifier.
dialThe dial frequency.
offsetThe frequency offset.
snrThe signal-to-noise ratio.
Here is the caller graph for this function:

◆ enqueueSpot()

void SpotClient::enqueueSpot ( QString const & callsign,
QString const & grid,
int submode,
int dial,
int offset,
int snr )

Enqueues a spot to be sent to the spot server.

Parameters
callsignThe callsign of the spotted station.
gridThe grid locator of the spotted station.
submodeThe submode identifier.
dialThe dial frequency.
offsetThe frequency offset.
snrThe signal-to-noise ratio.
Here is the caller graph for this function:

◆ setLocalStation()

void SpotClient::setLocalStation ( QString const & callsign,
QString const & grid,
QString const & info )

Sets the local station information.

Parameters
callsignThe callsign of the local station.
gridThe grid locator of the local station.
infoAdditional info about the local station.
Here is the caller graph for this function:

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