Photon Server API Documentation
v5.0RC1
Fiber implementation backed by a dedicated thread. IFiber More...
Public Member Functions | |
| ThreadFiber () | |
| Create a thread fiber with the default queue. More... | |
| ThreadFiber (IQueue queue) | |
| Creates a thread fiber with a specified queue. More... | |
| ThreadFiber (string threadName) | |
| Creates a thread fiber with a specified name. More... | |
| ThreadFiber (IQueue queue, string threadName) | |
| ThreadFiber (IQueue queue, string threadName, bool isBackground, ThreadPriority priority) | |
| Creates a thread fiber. More... | |
| void | Enqueue (Action action) |
| Enqueue a single action. More... | |
| IDisposable | Schedule (Action action, int firstInMs) |
| IScheduler.Schedule(Action,int) More... | |
| IDisposable | Schedule (IFiberAction action, int firstInMs) |
| IScheduler.Schedule(IFiberAction,int) More... | |
| IDisposable | ScheduleOnInterval (Action action, int firstInMs, int regularInMs) |
| IScheduler.ScheduleOnInterval(Action, int, int) More... | |
| IDisposable | ScheduleOnInterval (IFiberAction action, int firstInMs, int regularInMs) |
| IScheduler.ScheduleOnInterval(IFiberAction, int, int) More... | |
| void | Join () |
| void | Dispose () |
| Stops the thread. More... | |
Public Member Functions inherited from ExitGames.Concurrency.Fibers.IFiber | |
| void | Start () |
| Start consuming actions. More... | |
Public Member Functions inherited from ExitGames.Concurrency.Core.ISubscriptionRegistry | |
| void | RegisterSubscription (IDisposable toAdd) |
| Register subscription to be unsubcribed from when the fiber is disposed. /summary> param name="toAdd"> More... | |
| bool | DeregisterSubscription (IDisposable toRemove) |
Public Member Functions inherited from ExitGames.Concurrency.Core.IExecutionContext | |
| void | Enqueue (IFiberAction action) |
| Enqueue a single action. More... | |
Properties | |
| Thread | Thread [get] |
| IFiber More... | |
| int | NumSubscriptions [get] |
Fiber implementation backed by a dedicated thread. IFiber
|
inline |
Create a thread fiber with the default queue.
|
inline |
Creates a thread fiber with a specified queue.
| queue |
|
inline |
Creates a thread fiber with a specified name.
///
| threadName |
|
inline |
|
inline |
Creates a thread fiber.
| queue | |
| threadName | |
| isBackground | |
| priority |
|
inline |
Stops the thread.
|
inline |
|
inline |
|
inline |
IScheduler.Schedule(Action,int)
| action | |
| firstInMs |
Implements ExitGames.Concurrency.Core.IScheduler.
|
inline |
IScheduler.Schedule(IFiberAction,int)
| action | |
| firstInMs |
Implements ExitGames.Concurrency.Core.IScheduler.
|
inline |
IScheduler.ScheduleOnInterval(Action, int, int)
| action | |
| firstInMs | |
| regularInMs |
Implements ExitGames.Concurrency.Core.IScheduler.
|
inline |
IScheduler.ScheduleOnInterval(IFiberAction, int, int)
| action | |
| firstInMs | |
| regularInMs |
Implements ExitGames.Concurrency.Core.IScheduler.
|
get |
|
get |