Example #1
0
 /// <summary> Sends the event to the specified list of instance identities or names (case-insensitive) </summary>
 public int SendTo(int waitTime, IEnumerable <string> instances, string eventName, params string[] arguments)
 {
     return(InternalSend(waitTime, Registrar.GetRegisteredInstances(ChannelName, instances), eventName, arguments));
 }
Example #2
0
 /// <summary> Sends the event to all channel subscribers, waiting at most waitTime </summary>
 public int Broadcast(int waitTime, string eventName, params string[] arguments)
 {
     return(InternalSend(waitTime, Registrar.GetRegisteredInstances(ChannelName), eventName, arguments));
 }