![]() |
kinetic-c
v0.12.0
Seagate Kinetic Protocol Client Library for C
|
An instance of a session with a Kinetic device. More...
#include <kinetic_types_internal.h>
Data Fields | |
KineticSessionConfig | config |
session configuration which is a deep copy of client configuration supplied to KienticClient_CreateSession More... | |
bool | connected |
state of connection More... | |
KineticStatus | terminationStatus |
reported status upon device termination (SUCCESS if not terminated) More... | |
int | socket |
socket file descriptor More... | |
int64_t | connectionID |
initialized to seconds since epoch More... | |
int64_t | sequence |
increments for each request in a session More... | |
struct bus * | messageBus |
pointer to message bus instance More... | |
socket_info * | si |
pointer to socket information More... | |
pthread_mutex_t | sendMutex |
mutex for locking around seq count acquisision, PDU packing, and transfer to threadpool More... | |
KineticResourceWaiter | connectionReady |
connection ready status (set to true once connectionID recieved) More... | |
KineticCountingSemaphore * | outstandingOperations |
counting semaphore to only allows the configured number of outstanding operation at a given time More... | |
uint16_t | timeoutSeconds |
Default response timeout. More... | |
An instance of a session with a Kinetic device.
Definition at line 90 of file kinetic_types_internal.h.
KineticSessionConfig KineticSession::config |
session configuration which is a deep copy of client configuration supplied to KienticClient_CreateSession
Definition at line 91 of file kinetic_types_internal.h.
bool KineticSession::connected |
state of connection
Definition at line 92 of file kinetic_types_internal.h.
KineticStatus KineticSession::terminationStatus |
reported status upon device termination (SUCCESS if not terminated)
Definition at line 93 of file kinetic_types_internal.h.
int KineticSession::socket |
socket file descriptor
Definition at line 94 of file kinetic_types_internal.h.
int64_t KineticSession::connectionID |
initialized to seconds since epoch
Definition at line 95 of file kinetic_types_internal.h.
int64_t KineticSession::sequence |
increments for each request in a session
Definition at line 96 of file kinetic_types_internal.h.
struct bus* KineticSession::messageBus |
pointer to message bus instance
Definition at line 97 of file kinetic_types_internal.h.
socket_info* KineticSession::si |
pointer to socket information
Definition at line 98 of file kinetic_types_internal.h.
pthread_mutex_t KineticSession::sendMutex |
mutex for locking around seq count acquisision, PDU packing, and transfer to threadpool
Definition at line 99 of file kinetic_types_internal.h.
KineticResourceWaiter KineticSession::connectionReady |
connection ready status (set to true once connectionID recieved)
Definition at line 100 of file kinetic_types_internal.h.
KineticCountingSemaphore* KineticSession::outstandingOperations |
counting semaphore to only allows the configured number of outstanding operation at a given time
Definition at line 101 of file kinetic_types_internal.h.
uint16_t KineticSession::timeoutSeconds |
Default response timeout.
Definition at line 102 of file kinetic_types_internal.h.