![]() |
This is Unofficial EPICS BASE Doxygen Site
|
#include "cac.h"
Public Member Functions | |
cac (epicsMutex &mutualExclusion, epicsMutex &callbackControl, cacContextNotify &) | |
virtual | ~cac () |
void | beaconNotify (const inetAddrID &addr, const epicsTime ¤tTime, ca_uint32_t beaconNumber, unsigned protocolRevision) |
unsigned | beaconAnomaliesSinceProgramStart (epicsGuard< epicsMutex > &) const |
void | flush (epicsGuard< epicsMutex > &guard) |
bool | executeResponse (callbackManager &, tcpiiu &, const epicsTime ¤tTime, caHdrLargeArray &, char *pMsgBody) |
void | transferChanToVirtCircuit (unsigned cid, unsigned sid, ca_uint16_t typeCode, arrayElementCount count, unsigned minorVersionNumber, const osiSockAddr &, const epicsTime ¤tTime) |
cacChannel & | createChannel (epicsGuard< epicsMutex > &guard, const char *pChannelName, cacChannelNotify &, cacChannel::priLev) |
void | destroyChannel (epicsGuard< epicsMutex > &, nciu &) |
void | initiateConnect (epicsGuard< epicsMutex > &, nciu &, netiiu *&) |
nciu * | lookupChannel (epicsGuard< epicsMutex > &, const cacChannel::ioid &) |
netWriteNotifyIO & | writeNotifyRequest (epicsGuard< epicsMutex > &, nciu &, privateInterfaceForIO &, unsigned type, arrayElementCount nElem, const void *pValue, cacWriteNotify &) |
netReadNotifyIO & | readNotifyRequest (epicsGuard< epicsMutex > &, nciu &, privateInterfaceForIO &, unsigned type, arrayElementCount nElem, cacReadNotify &) |
netSubscription & | subscriptionRequest (epicsGuard< epicsMutex > &, nciu &, privateInterfaceForIO &, unsigned type, arrayElementCount nElem, unsigned mask, cacStateNotify &, bool channelIsInstalled) |
bool | destroyIO (CallbackGuard &callbackGuard, epicsGuard< epicsMutex > &mutualExclusionGuard, const cacChannel::ioid &idIn, nciu &chan) |
void | disconnectAllIO (epicsGuard< epicsMutex > &cbGuard, epicsGuard< epicsMutex > &guard, nciu &, tsDLList< baseNMIU > &ioList) |
void | ioShow (epicsGuard< epicsMutex > &guard, const cacChannel::ioid &id, unsigned level) const |
void | registerSearchDest (epicsGuard< epicsMutex > &, SearchDest &req) |
bool | findOrCreateVirtCircuit (epicsGuard< epicsMutex > &, const osiSockAddr &, unsigned, tcpiiu *&, unsigned, SearchDestTCP *pSearchDest=NULL) |
unsigned | circuitCount (epicsGuard< epicsMutex > &) const |
void | show (epicsGuard< epicsMutex > &, unsigned level) const |
int | printFormated (epicsGuard< epicsMutex > &callbackControl, const char *pformat,...) const |
int | varArgsPrintFormated (epicsGuard< epicsMutex > &callbackControl, const char *pformat, va_list args) const |
double | connectionTimeout (epicsGuard< epicsMutex > &) |
unsigned | maxContiguousFrames (epicsGuard< epicsMutex > &) const |
const char * | userNamePointer () const |
unsigned | getInitializingThreadsPriority () const |
epicsMutex & | mutexRef () |
void | attachToClientCtx () |
void | selfTest (epicsGuard< epicsMutex > &) const |
double | beaconPeriod (epicsGuard< epicsMutex > &, const nciu &chan) const |
void | destroyIIU (tcpiiu &iiu) |
const char * | pLocalHostName () |
![]() | |
virtual | ~cacContext () |
Static Public Member Functions | |
static unsigned | lowestPriorityLevelAbove (unsigned priority) |
static unsigned | highestPriorityLevelBelow (unsigned priority) |
Public Attributes | |
void exception epicsGuard< epicsMutex > & | cbGuard |
void exception epicsGuard< epicsMutex > epicsGuard< epicsMutex > & | guard |
void exception epicsGuard< epicsMutex > epicsGuard< epicsMutex > int | status |
void exception epicsGuard< epicsMutex > epicsGuard< epicsMutex > int const char * | pContext |
void exception epicsGuard< epicsMutex > epicsGuard< epicsMutex > int const char const char * | pFileName |
void exception epicsGuard< epicsMutex > epicsGuard< epicsMutex > int const char const char unsigned | lineNo |
Friends | |
class | tcpiiu |
cac::cac | ( | epicsMutex & | mutualExclusion, |
epicsMutex & | callbackControl, | ||
cacContextNotify & | notifyIn | ||
) |
Definition at line 127 of file cac.cpp.
|
virtual |
Definition at line 282 of file cac.cpp.
|
inline |
|
inlinevirtual |
Implements cacContext.
Definition at line 376 of file cac.h.
void cac::beaconNotify | ( | const inetAddrID & | addr, |
const epicsTime & | currentTime, | ||
ca_uint32_t | beaconNumber, | ||
unsigned | protocolRevision | ||
) |
Definition at line 454 of file cac.cpp.
double cac::beaconPeriod | ( | epicsGuard< epicsMutex > & | guard, |
const nciu & | chan | ||
) | const |
Definition at line 1273 of file cac.cpp.
|
virtual |
Implements cacContext.
Definition at line 399 of file cac.cpp.
|
inline |
Definition at line 420 of file cac.h.
|
virtual |
Implements cacContext.
Definition at line 508 of file cac.cpp.
void cac::destroyChannel | ( | epicsGuard< epicsMutex > & | guard, |
nciu & | chan | ||
) |
Definition at line 659 of file cac.cpp.
void cac::destroyIIU | ( | tcpiiu & | iiu | ) |
Definition at line 1227 of file cac.cpp.
bool cac::destroyIO | ( | CallbackGuard & | callbackGuard, |
epicsGuard< epicsMutex > & | mutualExclusionGuard, | ||
const cacChannel::ioid & | idIn, | ||
nciu & | chan | ||
) |
Definition at line 734 of file cac.cpp.
void cac::disconnectAllIO | ( | epicsGuard< epicsMutex > & | cbGuard, |
epicsGuard< epicsMutex > & | guard, | ||
nciu & | chan, | ||
tsDLList< baseNMIU > & | ioList | ||
) |
Definition at line 674 of file cac.cpp.
bool cac::executeResponse | ( | callbackManager & | mgr, |
tcpiiu & | iiu, | ||
const epicsTime & | currentTime, | ||
caHdrLargeArray & | hdr, | ||
char * | pMsgBody | ||
) |
Definition at line 1204 of file cac.cpp.
bool cac::findOrCreateVirtCircuit | ( | epicsGuard< epicsMutex > & | guard, |
const osiSockAddr & | addr, | ||
unsigned | priority, | ||
tcpiiu *& | piiu, | ||
unsigned | minorVersionNumber, | ||
SearchDestTCP * | pSearchDest = NULL |
||
) |
Definition at line 535 of file cac.cpp.
|
virtual |
Implements cacContext.
Definition at line 389 of file cac.cpp.
|
inline |
|
static |
Definition at line 374 of file cac.cpp.
void cac::initiateConnect | ( | epicsGuard< epicsMutex > & | guard, |
nciu & | chan, | ||
netiiu *& | piiu | ||
) |
Definition at line 1291 of file cac.cpp.
void cac::ioShow | ( | epicsGuard< epicsMutex > & | guard, |
const cacChannel::ioid & | id, | ||
unsigned | level | ||
) | const |
Definition at line 756 of file cac.cpp.
|
inline |
Definition at line 400 of file cac.h.
|
static |
Definition at line 362 of file cac.cpp.
|
inline |
|
inline |
|
inline |
int cac::printFormated | ( | epicsGuard< epicsMutex > & | callbackControl, |
const char * | pformat, | ||
... | |||
) | const |
netReadNotifyIO & cac::readNotifyRequest | ( | epicsGuard< epicsMutex > & | guard, |
nciu & | chan, | ||
privateInterfaceForIO & | icni, | ||
unsigned | type, | ||
arrayElementCount | nElem, | ||
cacReadNotify & | notifyIn | ||
) |
Definition at line 721 of file cac.cpp.
void cac::registerSearchDest | ( | epicsGuard< epicsMutex > & | guard, |
SearchDest & | req | ||
) |
Definition at line 1329 of file cac.cpp.
|
virtual |
Implements cacContext.
Definition at line 1218 of file cac.cpp.
|
virtual |
Implements cacContext.
Definition at line 406 of file cac.cpp.
netSubscription & cac::subscriptionRequest | ( | epicsGuard< epicsMutex > & | guard, |
nciu & | chan, | ||
privateInterfaceForIO & | privChan, | ||
unsigned | type, | ||
arrayElementCount | nElem, | ||
unsigned | mask, | ||
cacStateNotify & | notifyIn, | ||
bool | channelIsInstalled | ||
) |
Definition at line 809 of file cac.cpp.
void cac::transferChanToVirtCircuit | ( | unsigned | cid, |
unsigned | sid, | ||
ca_uint16_t | typeCode, | ||
arrayElementCount | count, | ||
unsigned | minorVersionNumber, | ||
const osiSockAddr & | addr, | ||
const epicsTime & | currentTime | ||
) |
Definition at line 587 of file cac.cpp.
|
inline |
|
inline |
Definition at line 363 of file cac.h.
netWriteNotifyIO & cac::writeNotifyRequest | ( | epicsGuard< epicsMutex > & | guard, |
nciu & | chan, | ||
privateInterfaceForIO & | icni, | ||
unsigned | type, | ||
arrayElementCount | nElem, | ||
const void * | pValue, | ||
cacWriteNotify & | notifyIn | ||
) |
Definition at line 707 of file cac.cpp.
void exception epicsGuard< epicsMutex >& cac::cbGuard |
void exception epicsGuard< epicsMutex > epicsGuard< epicsMutex >& cac::guard |
void exception epicsGuard< epicsMutex > epicsGuard< epicsMutex > int const char const char unsigned cac::lineNo |
void exception epicsGuard< epicsMutex > epicsGuard< epicsMutex > int const char* cac::pContext |
void exception epicsGuard< epicsMutex > epicsGuard< epicsMutex > int const char const char* cac::pFileName |
void exception epicsGuard< epicsMutex > epicsGuard< epicsMutex > int cac::status |