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

Channel publishing interface. More...

Inheritance diagram for ExitGames.Concurrency.Channels.IPublisher< T >:
ExitGames.Concurrency.Channels.IChannel< T > ExitGames.Concurrency.Channels.ISnapshotChannel< T > ExitGames.Messaging.Channels.IChannel< T > ExitGames.Messaging.Channels.IPublisher< T > ExitGames.Messaging.Channels.TopicPublisher< T > " alt="ExitGames.Concurrency.Channels.Channel< T >" shape="rect" coords="178,112,524,136"/> ExitGames.Messaging.Channels.Channel< T > ExitGames.Messaging.Channels.IChannel< T > ExitGames.Messaging.Channels.TopicPublishChannel< T > ExitGames.Concurrency.Channels.SnapshotChannel< T > ExitGames.Messaging.Channels.TopicPublishChannel< T > ExitGames.Messaging.Channels.Channel< T > Photon.SocketServer.Concurrency.MessageChannel< T > ExitGames.Messaging.Channels.TopicChannel< T > ExitGames.Messaging.Channels.TopicChannel< T >

Public Member Functions

bool Publish (T msg)
 Publish a message to all subscribers. Returns true if any subscribers are registered. More...
 

Detailed Description

Channel publishing interface.

Template Parameters
T

Member Function Documentation

bool ExitGames.Concurrency.Channels.IPublisher< T >.Publish ( msg)

Publish a message to all subscribers. Returns true if any subscribers are registered.

Parameters
msg
Returns

Implemented in ExitGames.Messaging.Channels.TopicPublisher< T >, ExitGames.Concurrency.Channels.Channel< T >, and ExitGames.Concurrency.Channels.SnapshotChannel< T >.