endurox-java
Public Member Functions | List of all members
org.endurox.UnsolCallback Interface Reference

Public Member Functions

void unsolCallback (AtmiCtx ctx, TypedBuffer buf, long flags)
 

Detailed Description

Interface for unsolicited callback message

Member Function Documentation

◆ unsolCallback()

void org.endurox.UnsolCallback.unsolCallback ( AtmiCtx  ctx,
TypedBuffer  buf,
long  flags 
)

Process have receive unsolicited message from the XATMI system. The functionality that can be handled within function is limited to:

  • Buffer allocation/free
  • tpgetlev()
  • tptypes() To have some more extended ATMI processing here, new context & thread shall be allocated and buffer shall be copied to newly allocated, that should be passed to thread.
    Parameters
    ctxAtmi Context
    bufTyped buffer
    flagsflags