Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleMakefile
linenumberstrue
collapsetrue
EXECUTABLES#Component IDL
IDL_FILES_L = Async
AsyncStubs_LIBS = AsyncExample
AsyncExample_OBJECTS acscomponentStubs acscommonStubs


#C++ Component
LIBRARIES_L     = AsyncClientAsyncImpl
AsyncExampleAsyncImpl_LIBS = maciClientAsyncStubs AsyncStubsacscomponent


LIBRARIES#C++ Client
EXECUTABLES_L   = AsyncExample
AsyncExample_OBJECTS = AsyncImplAsyncClient
AsyncImplAsyncExample_LIBS = maciClient AsyncStubs


#Java acscomponent

IDL_FILESClient
JARFILES_L = AsyncJar
AsyncJar_DIRS = Async
AsyncStubs_LIBSworkshop


#Python Client
PY_SCRIPTS_L       = acscomponentStubs acscommonStubsAsyncClient


Discussion

  • Asynchronous calls and oneway operations
    • It's not mandatory to make use of oneway keyword, depends on the design
      • For instance, adding to a queue may return immediately with a boolean with success or failure status of adding the element to a queue and may still register a callback for when the element is executed and something needs to be done
  • Existing CBxxxx are used for monitoring, alarms and other internals of ACS, they're not meant for generic use. Your own callbacks can have the desired set of methods
  • Improvements / Suggestions