Photon Server API
Public Member Functions | Protected Member Functions | Properties | List of all members
ExitGames.Concurrency.Channels.LastSubscriber< T > Class Template Reference

Subscribes to last action received on the channel. More...

Inheritance diagram for ExitGames.Concurrency.Channels.LastSubscriber< T >:
ExitGames.Concurrency.Channels.BaseSubscription< T > ExitGames.Concurrency.Channels.ISubscribable< T > ExitGames.Concurrency.Channels.IProducerThreadSubscriber< T >

Public Member Functions

 LastSubscriber (Action< T > target, IFiber fiber, int flushIntervalInMs)
 New instance. More...
 
- Public Member Functions inherited from ExitGames.Concurrency.Channels.BaseSubscription< T >
void ReceiveOnProducerThread (T msg)
 IProducerThreadSubscriber<T>.ReceiveOnProducerThread More...
 

Protected Member Functions

override void OnMessageOnProducerThread (T msg)
 Receives message from producer thread. More...
 

Properties

override ISubscriptionRegistry Subscriptions [get]
 
- Properties inherited from ExitGames.Concurrency.Channels.BaseSubscription< T >
Filter< T > FilterOnProducerThread [get, set]
 ISubscribable<T>.FilterOnProducerThread More...
 
abstract ISubscriptionRegistry Subscriptions [get]
 
- Properties inherited from ExitGames.Concurrency.Channels.ISubscribable< T >
Filter< T > FilterOnProducerThread [get, set]
 Filter called from producer threads. Should be thread safe as it may be called from multiple threads. More...
 
- Properties inherited from ExitGames.Concurrency.Channels.IProducerThreadSubscriber< T >
ISubscriptionRegistry Subscriptions [get]
 

Detailed Description

Subscribes to last action received on the channel.

Template Parameters
T

Constructor & Destructor Documentation

ExitGames.Concurrency.Channels.LastSubscriber< T >.LastSubscriber ( Action< T >  target,
IFiber  fiber,
int  flushIntervalInMs 
)
inline

New instance.

Parameters
target
fiber
flushIntervalInMs

summary> Allows for the registration and deregistration of subscriptions /summary>

Member Function Documentation

override void ExitGames.Concurrency.Channels.LastSubscriber< T >.OnMessageOnProducerThread ( msg)
inlineprotectedvirtual

Receives message from producer thread.

Parameters
msg

Implements ExitGames.Concurrency.Channels.BaseSubscription< T >.

Property Documentation