27 #include "byte_buffer.h" 56 typedef struct sIsoServerCallbacks
59 (*clientConnected)(IsoConnection connection);
64 void* parameter, IsoConnection connection);
Definition: iso_server.h:50
IsoConnectionIndication
Definition: iso_server.h:48
struct sIsoServer * IsoServer
Definition: iso_server.h:46
void IsoServer_startListening(IsoServer self)
void IsoServer_startListeningThreadless(IsoServer self)
struct sIsoConnection * IsoConnection
Definition: iso_server.h:54
void IsoServer_setConnectionHandler(IsoServer self, ConnectionIndicationHandler handler, void *parameter)
bool(* AcseAuthenticator)(void *parameter, AcseAuthenticationParameter authParameter, void **securityToken, IsoApplicationReference *appReference)
Callback function to authenticate a client.
Definition: iso_connection_parameters.h:105
Definition: iso_server.h:43
void(* MessageReceivedHandler)(void *parameter, ByteBuffer *message, ByteBuffer *response)
Definition: iso_server.h:67
IsoServerState
Definition: iso_server.h:38
AcseAuthenticator IsoServer_getAuthenticator(IsoServer self)
int IsoServer_waitReady(IsoServer self, unsigned int timeoutMs)
IsoServerState IsoServer_getState(IsoServer self)
Definition: iso_server.h:56
Definition: iso_server.h:51
TLSConfiguration IsoServer_getTLSConfiguration(IsoServer self)
Definition: iso_server.h:42
Definition: iso_server.h:40
void IsoServer_closeConnection(IsoServer self, IsoConnection isoConnection)
void IsoConnection_installListener(IsoConnection self, MessageReceivedHandler handler, void *parameter)
void IsoServer_processIncomingMessages(IsoServer self)
void IsoServer_stopListening(IsoServer self)
void * IsoServer_getAuthenticatorParameter(IsoServer self)
char * IsoConnection_getPeerAddress(IsoConnection self)
void IsoServer_stopListeningThreadless(IsoServer self)
void IsoServer_setLocalIpAddress(IsoServer self, const char *ipAddress)
void(* ConnectionIndicationHandler)(IsoConnectionIndication indication, void *parameter, IsoConnection connection)
Definition: iso_server.h:63
Definition: iso_server.h:41
void * IsoConnection_getSecurityToken(IsoConnection self)
void IsoServer_destroy(IsoServer self)
void IsoServer_setTcpPort(IsoServer self, int port)
IsoServer IsoServer_create(TLSConfiguration tlsConfiguration)
void IsoServer_setAuthenticator(IsoServer self, AcseAuthenticator authenticator, void *authenticatorParameter)
void IsoConnection_sendMessage(IsoConnection self, ByteBuffer *message, bool handlerMode)
send a message over an ISO connection
void IsoConnection_close(IsoConnection self)