Quantum 3 3.1.0

Public Member Functions | List of all members
Photon.Realtime.ConnectionServiceScope Class Reference

Can be used inside a using-scope to keep updating the connection. More...

Inherits IDisposable.

Public Member Functions

 ConnectionServiceScope (RealtimeClient client, AsyncConfig config=null)
 Creates a service task that calls RealtimeClient.Service() regularly. More...
 
void Dispose ()
 Dispose the service task and stop calling Service(). More...
 

Detailed Description

Can be used inside a using-scope to keep updating the connection.

Constructor & Destructor Documentation

◆ ConnectionServiceScope()

Photon.Realtime.ConnectionServiceScope.ConnectionServiceScope ( RealtimeClient  client,
AsyncConfig  config = null 
)
inline

Creates a service task that calls RealtimeClient.Service() regularly.

Parameters
clientClient connection object.
configAsync config.

Member Function Documentation

◆ Dispose()

void Photon.Realtime.ConnectionServiceScope.Dispose ( )
inline

Dispose the service task and stop calling Service().