Helper class for sending unicast Sync messages to an L3 client.
This helper class sends unicast Sync messages on a separate timer. IEEE1588 Section 9.5.9.2 allows this rate to be as high as needed, if client and server administrators agree on the configuration.
Definition at line 261 of file ptp_client.h.
|
|
| SyncUnicastL3 (satcat5::ptp::Client *client) |
| | Create this object.
|
| |
|
void | connect (const satcat5::ip::Addr &dstaddr) |
| | Set the destination for outgoing SYNC messages.
|
| |
|
void | close () |
| | Close the connection to the remote client.
|
| |
|
void | timer_once (unsigned msec) |
| | Configure a one-time notification after X milliseconds.
|
| |
|
void | timer_every (unsigned msec) |
| | Configure a repeating notification every X milliseconds.
|
| |
|
void | timer_stop () |
| | Stop all future notifications.
|
| |
|
unsigned | timer_interval () const |
| | Accessor for recurring timer interval, if one is set.
|
| |
|
unsigned | timer_remaining () const |
| | Accessor for time to next event, if one is set.
|
| |