Object model » History » Version 30

« Previous - Version 30/34 (diff) - Next » - Current version
Madars Vitolins, 06/05/2018 08:44 AM


Object model

Package/Namespace

Go Java C# Platform Script
atmi org.endurox Endurox.Atmi N/A

Constants
...

ATMI Exception Object

Exception object holds the error code and message. Exception object shall have an method (static) to instantiate the error.

Go C# Java, Platform Script
ATMIError ATMIException AtmiException

For inherited languages, the for each error code there must be own exception class.

C C#, Java, Platform Script
TPEABORT AtmiTPEABORTException
TPEBADDESC AtmiTPEBADDESCException
TPEBLOCK AtmiTPEBLOCKException
TPEINVAL AtmiTPEINVALException
TPELIMIT AtmiTPELIMITException
TPENOENT AtmiTPENOENTException
TPEOS AtmiTPEOSException
TPEPERM AtmiTPEPERMException
TPEPROTO AtmiTPEPROTOException
TPESVCERR AtmiTPESVCERRException
TPESVCFAIL AtmiTPESVCFAILException
TPESYSTEM AtmiTPESYSTEMException
TPETIME AtmiTPETIMEException
TPETRAN AtmiTPETRANException
TPGOTSIG AtmiTPGOTSIGException
TPERMERR AtmiTPERMERRException
TPEITYPE AtmiTPEITYPEException
TPEOTYPE AtmiTPEOTYPEException
TPERELEASE AtmiTPERELEASEException
TPEHAZARD AtmiTPEHAZARDException
TPEHEURISTIC AtmiTPEHEURISTICException
TPEEVENT AtmiTPEEVENTException
TPEMATCH AtmiTPEMATCHException
TPEDIAGNOSTIC AtmiTPEDIAGNOSTICException
TPEMIB AtmiTPEMIBException
TPERFU26 AtmiTPERFU26Exception
TPERFU27 AtmiTPERFU27Exception
TPERFU28 AtmiTPERFU28Exception
TPERFU29 AtmiTPERFU29Exception
TPINITFAIL AtmiTPINITFAILException

ATMI Context Object

This section list ATMI Context object properties for different languages

Go Java C# Platform Script
ATMICtx AtmiCtx AtmiCtx AtmiCtx

Static methods

Go C# Java, Platform Script
NewATMICtx NewATMICtx newAtmiCtx
ATMIMsgSizeMaxAtmiMsgSizeMax atmiMsgSizeMax
NewCustomATMIError NewCustomATMIError newCustomATMIError
NewCustomNstdError NewCustomNstdError newCustomNstdError

Methods of ATMI Context

Go C# Java, Platform Script
NewATMIError NewAtmiError newAtmiError
NewNstdError NewNstdError newNstdError
FreeATMICtx N/A automatic destructor N/A automatic destructor
TpAlloc TPAlloc tpAlloc
TpSetCtxt TPSetCtxt tpSetCtxt
TpRealloc TPRealloc tpRealloc
TpInit TPInit tpInit
TpCall TPCall tpCall
TpACall
TpGetRply
TpCancel
TpConnect
TpDiscon
TpRecv
TpSend
TpFree
TpCommit
TpAbort
TpOpen
TpClose
TpGetLev
TpBegin
TpSuspend
TpResume
TpGetnodeId
TpPost
TpTypes
TpTerm
TpEnqueue
TpDequeue
TpContinue
TpRun
TpAdvertise TPAdvertise tpAdvertise
TpReturn
TpForward
TpUnadvertise
TpUnsubscribe
TpSubscribe
TpSrvGetCtxData
TpSrvSetCtxData
TpSrvFreeCtxData
TpExtDelPollerFD
TpExtAddB4PollCB
TpExtDelB4PollCB
TpExtAddPeriodCB
TpExtDelPeriodCB
TpExtAddPollerFD
TpGetSrvId

ATMI Buffer class

This object is used for mapping ATMI Errors

Go C# Java, Platform Script
ATMIBuf AtmiBuf AtmiBuf

ATMI Buffer classes inherited -> TypedUBF

Go C# Java, Platform Script
TypedUBF TypedUbf TypedUbf

ATMI Buffer classes inherited -> TypedString

Go C# Java, Platform Script
TypedString TypedString TypedString

ATMI Buffer classes inherited -> TypedCarray

Go C# Java, Platform Script
TypedCarray TypedCarray TypedCarray

ATMI Buffer classes inherited -> TypedJSON

Go C# Java, Platform Script
TypedJSON TypedJson TypedJson