Photon Server API
List of all members
ExitGames.Messaging.Channels.IChannel< T > Interface Template Reference

An Concurrency.Channels.IChannel<T> implementing the IPublisher<T> interface. More...

Inheritance diagram for ExitGames.Messaging.Channels.IChannel< T >:
ExitGames.Concurrency.Channels.IChannel< T > ExitGames.Concurrency.Channels.IPublisher< T > ExitGames.Concurrency.Channels.ISubscriber< T > ExitGames.Concurrency.Channels.IPublisher< T >

Additional Inherited Members

- Public Member Functions inherited from ExitGames.Concurrency.Channels.IChannel< T >
IDisposable SubscribeOnProducerThreads (IProducerThreadSubscriber< T > subscriber)
 Subscribes to actions on producer threads. Subscriber could be called from multiple threads. More...
- Public Member Functions inherited from ExitGames.Concurrency.Channels.ISubscriber< T >
IDisposable Subscribe (IFiber fiber, Action< T > receive)
 Subscribe to messages on this channel. The provided action will be invoked via a Action on the provided executor. /summary> param name="fiber">the target executor to receive the messageparam name="receive">returns>Unsubscriber object More...
IDisposable SubscribeToBatch (IFiber fiber, Action< IList< T >> receive, int intervalInMs)
 Subscribes to actions on the channel in batch form. The events will be batched if the consumer is unable to process the events faster than the arrival rate. More...
IDisposable SubscribeToKeyedBatch< K > (IFiber fiber, Converter< T, K > keyResolver, Action< IDictionary< K, T >> receive, int intervalInMs)
IDisposable SubscribeToLast (IFiber fiber, Action< T > receive, int intervalInMs)
 Subscription that delivers the latest message to the consuming thread. If a newer message arrives before the consuming thread has a chance to process the message, the pending message is replaced by the newer message. The old message is discarded. More...
void ClearSubscribers ()
 Removes all subscribers. More...
- 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 Concurrency.Channels.IChannel<T> implementing the IPublisher<T> interface.

Template Parameters
TThe message type.