public static IEnumerable <SlarkClientConnection> ToEnumerable(this SlarkClientConnection connection) { return(new SlarkClientConnection[] { connection }); }
public static Task <IEnumerable <SlarkClientConnection> > ToEnumerableAsync(this SlarkClientConnection connection) { return(Task.FromResult(connection.ToEnumerable())); }
public abstract void RemoveConnectionSync(SlarkClientConnection connection);
public abstract void AddConnectionSync(SlarkClientConnection connection);
public abstract Task OnDisconnected(SlarkClientConnection slarkClientConnection);
public abstract Task OnReceived(SlarkClientConnection sender, string message);
public abstract Task <SlarkClientConnection> OnConnected(SlarkClientConnection slarkClientConnection);