GS Use-Cases Standard

Image:Design_icon.png This page contains the design document for an enhancement or feature. The design should be considered a work in progress and may not represent the final design. As this is a collaborative design, contributions and participation from other developers and users is encouraged. Use the discussion page for providing comments and suggestions.



[edit] Notes on Use Cases




[edit] Sample Use Cases



[edit] 1. List all Use Cases for an Actor

The Actor 'Network' has the following use-cases:


The Actor 'GS Application' has the following use-cases:


[edit] 2.Detail Each Use-Case (Pseudo-Formally)



[edit] Ex 1: OpenNewOutBoundConnection

Use Case: OpenNewOutBoundConnection
Initiating Actor: GS Application
Participating Actors: (none)
Preconditions: (none)
Primary Flow:
1 Initiating Actior (IA) requests a new connection object, providing hostname and port.
2 The connection object attempts to connect to hostname on port.
3 If connection is successful, GSNetLib returns a connected connection object
Alternative Flows
Extention Point: During step #3.
Precondition: The connection is not successful.
3.1 GSNetLib returns a null object.
Remerge Point: None. Alternative end to use case.





[edit] Ex 2: OpenNewInBoundConnection

Use Case: OpenNewInBoundConnection
Initiating Actor: GSNetLib Listener
Participating Actors: (none)
Preconditions: (none)
Primary Flow:
1 Initiating Actior (IA) requests a new connection object.
2 If connection is successful, GSNetLib returns a connected connection object
Alternative Flows
Extention Point: During step #2.
Precondition: The connection is not successful.
2.1 GSNetLib refuses the incoming connection.
Remerge Point: None. Alternative end to use case.