Beispiel #1
0
 /// <summary>
 /// Proxy for <see cref="FSM{TState,TData}.SetTimer"/>
 /// </summary>
 public void SetTimer(string name, object msg, TimeSpan timeout, bool repeat = false)
 {
     InternalRef.Cell.UseThreadContext(() => UnderlyingActor.SetTimer(name, msg, timeout, repeat));
 }
Beispiel #2
0
 /// <summary>
 /// Proxy for <see cref="FSM{TState,TData}.CancelTimer"/>
 /// </summary>
 public void CancelTimer(string name)
 {
     UnderlyingActor.CancelTimer(name);
 }
Beispiel #3
0
 /// <summary>
 /// Proxy for <see cref="FSM{TState,TData}.IsTimerActive"/>
 /// </summary>
 public bool IsTimerActive(string name)
 {
     return(UnderlyingActor.IsTimerActive(name));
 }