![]() |
AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
|
The ServerSessionsTracker manages the list of sessions on the server and the users in these sessions. Instance is created by Sharing Stage when a connection is found. More...
Public Member Functions | |
| ServerSessionsTracker (SessionManager sessionMgr) | |
| Session | GetCurrentSession () |
| Retrieves the current session, if any. More... | |
| bool | JoinSession (Session session) |
| Join the specified session. More... | |
| void | LeaveCurrentSession () |
| Leave the current session. More... | |
| bool | CreateSession (string sessionName) |
| Creates a new session on the server. More... | |
| void | Dispose () |
Protected Member Functions | |
| virtual void | Dispose (bool disposing) |
Properties | |
| List< Session > | Sessions [get] |
| List of sessions on the server. More... | |
| bool | IsServerConnected [get] |
| Indicates whether there is a connection to the server or not. More... | |
Events | |
| Action< bool, string > | SessionCreated |
| Action< Session > | SessionAdded |
| Action< Session > | SessionClosed |
| Action< Session, User > | UserChanged |
| Action< Session, User > | UserJoined |
| Action< Session, User > | UserLeft |
| Action< Session > | CurrentUserLeft |
| Action< Session > | CurrentUserJoined |
| Action | ServerConnected |
| Action | ServerDisconnected |
The ServerSessionsTracker manages the list of sessions on the server and the users in these sessions. Instance is created by Sharing Stage when a connection is found.
Definition at line 14 of file ServerSessionsTracker.cs.
| HoloToolkit.Sharing.ServerSessionsTracker.ServerSessionsTracker | ( | SessionManager | sessionMgr | ) |
Definition at line 43 of file ServerSessionsTracker.cs.
| bool HoloToolkit.Sharing.ServerSessionsTracker.CreateSession | ( | string | sessionName | ) |
Creates a new session on the server.
| sessionName | Name of the session. |
Definition at line 108 of file ServerSessionsTracker.cs.
| void HoloToolkit.Sharing.ServerSessionsTracker.Dispose | ( | ) |
Definition at line 209 of file ServerSessionsTracker.cs.
|
protectedvirtual |
Definition at line 215 of file ServerSessionsTracker.cs.
| Session HoloToolkit.Sharing.ServerSessionsTracker.GetCurrentSession | ( | ) |
Retrieves the current session, if any.
Definition at line 68 of file ServerSessionsTracker.cs.
| bool HoloToolkit.Sharing.ServerSessionsTracker.JoinSession | ( | Session | session | ) |
Join the specified session.
| session | Session to join. |
Definition at line 78 of file ServerSessionsTracker.cs.
| void HoloToolkit.Sharing.ServerSessionsTracker.LeaveCurrentSession | ( | ) |
Leave the current session.
Definition at line 92 of file ServerSessionsTracker.cs.
|
get |
Indicates whether there is a connection to the server or not.
Definition at line 41 of file ServerSessionsTracker.cs.
|
get |
List of sessions on the server.
Definition at line 36 of file ServerSessionsTracker.cs.
| Action<Session> HoloToolkit.Sharing.ServerSessionsTracker.CurrentUserJoined |
Definition at line 28 of file ServerSessionsTracker.cs.
| Action<Session> HoloToolkit.Sharing.ServerSessionsTracker.CurrentUserLeft |
Definition at line 27 of file ServerSessionsTracker.cs.
| Action HoloToolkit.Sharing.ServerSessionsTracker.ServerConnected |
Definition at line 30 of file ServerSessionsTracker.cs.
| Action HoloToolkit.Sharing.ServerSessionsTracker.ServerDisconnected |
Definition at line 31 of file ServerSessionsTracker.cs.
| Action<Session> HoloToolkit.Sharing.ServerSessionsTracker.SessionAdded |
Definition at line 21 of file ServerSessionsTracker.cs.
| Action<Session> HoloToolkit.Sharing.ServerSessionsTracker.SessionClosed |
Definition at line 22 of file ServerSessionsTracker.cs.
| Action<bool, string> HoloToolkit.Sharing.ServerSessionsTracker.SessionCreated |
Definition at line 20 of file ServerSessionsTracker.cs.
Definition at line 24 of file ServerSessionsTracker.cs.
Definition at line 25 of file ServerSessionsTracker.cs.
Definition at line 26 of file ServerSessionsTracker.cs.