AbstractSession Class |
Namespace: SoftGear.Strix.Unity.Runtime.Session
public abstract class AbstractSession
The AbstractSession type exposes the following members.
| Name | Description | |
|---|---|---|
| AbstractSession | Initializes a new instance of the AbstractSession class |
| Name | Description | |
|---|---|---|
| applicationId |
An ID used to identify the application in the Strix Cloud.
| |
| authClient | ||
| authData | ||
| authorizationAccessToken |
Authorization access token. If not null or empty, used to authorize this client when connecting to the server. To use it you should also provide a valid authorization server URL to Connect(String, Int32, String, String, StrixNetworkConnectEventHandler, StrixNetworkConnectFailedEventHandler, Int32), or JoinRoom(RoomJoinArgs, RoomJoinEventHandler, FailureEventHandler, RequestConfig) through RoomJoinArgs. | |
| host |
The address of the remote server.
| |
| IsConnected | if the connection is currently open; otherwise.
| |
| messageChannel | ||
| messageChannelProcessor | ||
| port |
The remote server port number.
| |
| protocol |
The protocol used to connect to the remote server.
| |
| sessionClient | ||
| uid |
| Name | Description | |
|---|---|---|
| Connect(String, Int32, String, StrixNetworkConnectEventHandler, StrixNetworkConnectFailedEventHandler, Int32) |
Establishes a connection with a remote server.
| |
| Connect(String, Int32, String, String, StrixNetworkConnectEventHandler, StrixNetworkConnectFailedEventHandler, Int32) |
Establishes a connection with a remote server.
| |
| CreateMessageChannelListener | ||
| CreateMessageChannelProcessor | ||
| Destroy | ||
| Disconnect |
Closes the connection to the remote server if it is open.
| |
| FireClosedEvent | ||
| FireConnectedEvent | ||
| FireConnectFailedEvent | ||
| FireErrorEvent | ||
| GenerateRandomBytes | ||
| GenerateRandomClientId | ||
| Login | ||
| Process | ||
| Send | ||
| SendLoginMessage |
| Name | Description | |
|---|---|---|
| Closed |
Fired when the connection is closed.
| |
| Connected |
Fired when the connection is established successfully.
| |
| ConnectFailed |
Fired when establishing the connection fails.
| |
| ErrorThrown |
Fired when a network error happens.
|
| Name | Description | |
|---|---|---|
| authUrl | ||
| IsInitialized | ||
| messageDispatcher | ||
| requestDispatcher |