Пример #1
0
 /// <summary>
 /// Send data to a connection
 /// </summary>
 /// <param name="chan"></param>
 /// <param name="con"></param>
 /// <param name="data"></param>
 /// <returns></returns>
 public abstract int Send(TransportChannel chan, TransportConnection con, Span <byte> data);
Пример #2
0
 /// <summary>
 /// Get the connection state of a connection
 /// </summary>
 /// <param name="con"></param>
 /// <returns></returns>
 public abstract TransportConnection.State GetConnectionState(TransportConnection con);