(mOSAIC) API classification

API categories based on purpose

In-process (internal) API's

Characteristics:

Inter-process internal API's

Characteristics:

Inter-process external API's

Characteristics:

mOSAIC API layer to API category mapping

API categories based on programming model

Synchronous (blocking) API's

Characteristics:

Example:

Observations:

Asynchronous non-blocking API's

Characteristics:

Example:

Observations:

Asynchronous callback driven API's

Characteristics:

Example (by using anonymous functions (lambda expressions) like JavaScript provides):

Example (by using anonymous class instances like Java provides:

Observations:

References:

Asynchronous event driven API's

Characteristics:

Example (by using a single event handling callback):

Example (by having one method for each handled event type):

Observations:

References: