Photon Server API
Public Member Functions | List of all members
ExitGames.Concurrency.Channels.ISnapshotChannel< T > Interface Template Reference

An ISnapshotChannel is a channel that allows for the transmission of an initial snapshot followed by incremental updates. The class is thread safe. /summary> typeparam name="T"> More...

Inheritance diagram for ExitGames.Concurrency.Channels.ISnapshotChannel< T >:
ExitGames.Concurrency.Channels.IPublisher< T > ExitGames.Concurrency.Channels.SnapshotChannel< T >

Public Member Functions

void PrimedSubscribe (IFiber fiber, Action< T > receive)
 Subscribes for an initial snapshot and then incremental update. /summary> param name="fiber">the target executor to receive the messageparam name="receive"> More...
 
void ReplyToPrimingRequest (IFiber fiber, Func< T > reply)
 
- Public Member Functions inherited from ExitGames.Concurrency.Channels.IPublisher< T >
bool Publish (T msg)
 Publish a message to all subscribers. Returns true if any subscribers are registered. More...
 

Detailed Description

An ISnapshotChannel is a channel that allows for the transmission of an initial snapshot followed by incremental updates. The class is thread safe. /summary> typeparam name="T">

Member Function Documentation

void ExitGames.Concurrency.Channels.ISnapshotChannel< T >.PrimedSubscribe ( IFiber  fiber,
Action< T >  receive 
)

Subscribes for an initial snapshot and then incremental update. /summary> param name="fiber">the target executor to receive the messageparam name="receive">

summary> Ressponds to the request for an initial snapshot. /summary> param name="fiber">the target executor to receive the message

param name="reply">returns the snapshot update

Implemented in ExitGames.Concurrency.Channels.SnapshotChannel< T >.

void ExitGames.Concurrency.Channels.ISnapshotChannel< T >.ReplyToPrimingRequest ( IFiber  fiber,
Func< T >  reply 
)