Beispiel #1
0
 public static IEnumerable <SlarkClientConnection> ToEnumerable(this SlarkClientConnection connection)
 {
     return(new SlarkClientConnection[] { connection });
 }
Beispiel #2
0
 public static Task <IEnumerable <SlarkClientConnection> > ToEnumerableAsync(this SlarkClientConnection connection)
 {
     return(Task.FromResult(connection.ToEnumerable()));
 }
Beispiel #3
0
 public abstract void RemoveConnectionSync(SlarkClientConnection connection);
Beispiel #4
0
 public abstract void AddConnectionSync(SlarkClientConnection connection);
Beispiel #5
0
 public abstract Task OnDisconnected(SlarkClientConnection slarkClientConnection);
Beispiel #6
0
 public abstract Task OnReceived(SlarkClientConnection sender, string message);
Beispiel #7
0
 public abstract Task <SlarkClientConnection> OnConnected(SlarkClientConnection slarkClientConnection);