Photon Server API Documentation v5.0RC1

Public Member Functions | List of all members
ExitGames.Concurrency.Core.DefaultQueue Class Reference

Default implementation. More...

Inheritance diagram for ExitGames.Concurrency.Core.DefaultQueue:
ExitGames.Concurrency.Core.IQueue

Public Member Functions

 DefaultQueue ()
 
void Enqueue (IFiberAction action)
 Enqueue action. More...
 
void Run ()
 Execute actions until stopped. More...
 
void Stop ()
 Stop consuming actions. More...
 
bool ExecuteNextBatch ()
 Remove all actions and execute. More...
 

Detailed Description

Default implementation.

Constructor & Destructor Documentation

◆ DefaultQueue()

ExitGames.Concurrency.Core.DefaultQueue.DefaultQueue ( )
inline

Member Function Documentation

◆ Enqueue()

void ExitGames.Concurrency.Core.DefaultQueue.Enqueue ( IFiberAction  action)
inline

Enqueue action.

Parameters
action

Implements ExitGames.Concurrency.Core.IQueue.

◆ ExecuteNextBatch()

bool ExitGames.Concurrency.Core.DefaultQueue.ExecuteNextBatch ( )
inline

Remove all actions and execute.

Returns

◆ Run()

void ExitGames.Concurrency.Core.DefaultQueue.Run ( )
inline

Execute actions until stopped.

Implements ExitGames.Concurrency.Core.IQueue.

◆ Stop()

void ExitGames.Concurrency.Core.DefaultQueue.Stop ( )
inline

Stop consuming actions.

Implements ExitGames.Concurrency.Core.IQueue.