Click or drag to resize

AbstractSession Class

An abstract class representing a server session.
Inheritance Hierarchy

Namespace:  SoftGear.Strix.Unity.Runtime.Session
Assembly:  StrixUnityRuntime (in StrixUnityRuntime.dll) Version: 1.5.0
Syntax
C#
public abstract class AbstractSession

The AbstractSession type exposes the following members.

Constructors
  NameDescription
Public methodAbstractSession
Initializes a new instance of the AbstractSession class
Top
Properties
  NameDescription
Public propertyapplicationId
An ID used to identify the application in the Strix Cloud.
Public propertyauthClient
Public propertyauthData
Public propertyauthorizationAccessToken
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.
Public propertyhost
The address of the remote server.
Public propertyIsConnected
if the connection is currently open; otherwise.
Public propertymessageChannel
Public propertymessageChannelProcessor
Public propertyport
The remote server port number.
Public propertyprotocol
The protocol used to connect to the remote server.
Public propertysessionClient
Public propertyuid
Top
Methods
Events
  NameDescription
Public eventClosed
Fired when the connection is closed.
Public eventCode exampleConnected
Fired when the connection is established successfully.
Public eventConnectFailed
Fired when establishing the connection fails.
Public eventErrorThrown
Fired when a network error happens.
Top
Fields
See Also