IOnionSession
Represents the entity of a session with the onion.net Information Server.
This interface provides methods and properties for the communication in a session with the onion.net Information Server.
Events
| Event | Description |
|---|---|
| SessionCorrupt(EventHandler) | Is generated if the connection to the onion.net Information Server cannot be restored. |
| SessionInterrupted(EventHandler) | Is generated if a connection to the onion.net Information Server is interrupted. |
| SessionRestored(EventHandler) | Is generated if an interrupted connection to the onion.net Information Server was successfully restored. |
| StateChanged(EventHandler) | Is generated if the status of the session changes. |
Properties
| Property | Description |
|---|---|
| Cache:IFunctionCache | Supplies a cache for the current session. |
| Events:IEventHub | Supplies an instance for linking to the events of onion.net. |
| IsInterrupted:Boolean | Checks whether the current connection to the onion.net Information Server is interrupted. |
| Repository:IDataRepository | Supplies an instance for calling and editing data objects and ChangeSets in the data repository. |
| Schemata:ISchemaRepository | Supplies an instance for calling and editing schemas of the schema management. |
| Self:IUser | Gets the user currently logged onto the session. |
| UserManagement:IUserRepository | Supplies an instance for calling and editing users and groups in the user management. |
Methods
| Method | Description |
|---|---|
| DumpServerStatistics():String | Supplies statistics relating to the onion.net Information Server. |
| LoadSessionState(OnionSessionState):Void | Loads the state of a session. |
| SaveSessionState():OnionSessionState | Saves the state of the current session and returns it. |
