Previous Table of Contents Next


3.1.10.1 DAIS::Session Overview


   The session is an interface inherited by data access and alarms & events sessions. A session represents a single conversation with the DAIS service. A session has a connection to a shut down callback used by a server to shut down clients in the case of an ordered shut down of the server. If the session object is destroyed or a failure is detected by the server when invoking an operation on any callback objects, then the session is terminated.

   A session object corresponds to the OPC server object; hence each OPC server object will be represented by a session object in DAIS.


   Figure 3-5 DAIS session IDL in UML

   The status() method corresponds to the read only SessionStatus attribute in the IDL. The callback() get and set methods correspond to the ShutDownCallback attribute.