libiec61850  1.2.0
Typedefs | Functions
goose_receiver.h File Reference
#include <stdbool.h>
#include "hal_ethernet.h"
#include "goose_subscriber.h"

Go to the source code of this file.

Typedefs

typedef struct sGooseReceiver * GooseReceiver
 

Functions

GooseReceiver GooseReceiver_create (void)
 Create a new receiver instance. More...
 
void GooseReceiver_setInterfaceId (GooseReceiver self, const char *interfaceId)
 sets the interface for the GOOSE receiver More...
 
void GooseReceiver_addSubscriber (GooseReceiver self, GooseSubscriber subscriber)
 Add a subscriber to this receiver instance. More...
 
void GooseReceiver_removeSubscriber (GooseReceiver self, GooseSubscriber subscriber)
 Remove a subscriber from this receiver instance. More...
 
void GooseReceiver_start (GooseReceiver self)
 start the GOOSE receiver in a separate thread More...
 
void GooseReceiver_stop (GooseReceiver self)
 stop the GOOSE receiver running in a separate thread More...
 
bool GooseReceiver_isRunning (GooseReceiver self)
 Check if GOOSE receiver is running. More...
 
void GooseReceiver_destroy (GooseReceiver self)
 Free all resource of the GooseReceiver and all installed GooseSubscribers. More...
 
EthernetSocket GooseReceiver_startThreadless (GooseReceiver self)
 
void GooseReceiver_stopThreadless (GooseReceiver self)
 
bool GooseReceiver_tick (GooseReceiver self)
 Parse GOOSE messages if they are available. More...