next up previous contents index
Next: Signatures Up: Component Developer (OLD) Previous: Interfaces   Contents   Index


Interface Structure

Figure 3.2: Example for interfaces with signature lists and protocol informations, represented as finite state machine
Image cm-interfaces-signature-protocol-01

So far the internals and the internal structure of interfaces have not been discussed. Important properties of interfaces originate from their signatures and protocols. Interfaces have a list of signatures that define services, as well as a protocol that defines correct service call sequences.

Example 3.1 (Interfaces)   The example from figure 3.2 shows the component ReaderWriter Component. It provides the interfaces IReaderWriter and requires ILogging and ICache. For every interface an example of a signature list and a protocol (visualised as finite state machine) is given.

Interface protocols rise implications for object states. Object states implied by protocols are discussed in detail in Nierstraß [17].



Subsections

Snowball 2007-03-16