libiec61850  1.2.0
Data Structures | Typedefs | Enumerations | Functions
iso_server.h File Reference
#include "byte_buffer.h"
#include "iso_connection_parameters.h"

Go to the source code of this file.

Data Structures

struct  IsoServerCallbacks
 

Typedefs

typedef struct sIsoServer * IsoServer
 
typedef struct sIsoConnection * IsoConnection
 
typedef void(* ConnectionIndicationHandler) (IsoConnectionIndication indication, void *parameter, IsoConnection connection)
 
typedef void(* MessageReceivedHandler) (void *parameter, ByteBuffer *message, ByteBuffer *response)
 

Enumerations

enum  IsoServerState { ISO_SVR_STATE_IDLE, ISO_SVR_STATE_RUNNING, ISO_SVR_STATE_STOPPED, ISO_SVR_STATE_ERROR }
 
enum  IsoConnectionIndication { ISO_CONNECTION_OPENED, ISO_CONNECTION_CLOSED }
 

Functions

char * IsoConnection_getPeerAddress (IsoConnection self)
 
void IsoConnection_close (IsoConnection self)
 
void IsoConnection_installListener (IsoConnection self, MessageReceivedHandler handler, void *parameter)
 
void * IsoConnection_getSecurityToken (IsoConnection self)
 
void IsoConnection_sendMessage (IsoConnection self, ByteBuffer *message, bool handlerMode)
 send a message over an ISO connection More...
 
IsoServer IsoServer_create (TLSConfiguration tlsConfiguration)
 
void IsoServer_setTcpPort (IsoServer self, int port)
 
void IsoServer_setLocalIpAddress (IsoServer self, const char *ipAddress)
 
IsoServerState IsoServer_getState (IsoServer self)
 
void IsoServer_setConnectionHandler (IsoServer self, ConnectionIndicationHandler handler, void *parameter)
 
void IsoServer_setAuthenticator (IsoServer self, AcseAuthenticator authenticator, void *authenticatorParameter)
 
AcseAuthenticator IsoServer_getAuthenticator (IsoServer self)
 
void * IsoServer_getAuthenticatorParameter (IsoServer self)
 
TLSConfiguration IsoServer_getTLSConfiguration (IsoServer self)
 
void IsoServer_startListening (IsoServer self)
 
void IsoServer_stopListening (IsoServer self)
 
void IsoServer_startListeningThreadless (IsoServer self)
 
void IsoServer_processIncomingMessages (IsoServer self)
 
int IsoServer_waitReady (IsoServer self, unsigned int timeoutMs)
 
void IsoServer_stopListeningThreadless (IsoServer self)
 
void IsoServer_closeConnection (IsoServer self, IsoConnection isoConnection)
 
void IsoServer_destroy (IsoServer self)