Exemplo n.º 1
0
 protected void Pong(byte type, List <byte> data)
 {
     UpdateTimestamp?.Invoke();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Gets a string representation for the specified <c>SessionBMessage</c> instance.
 /// </summary>
 /// <returns>A string that contains the message type and update time.</returns>
 public override string ToString()
 {
     return(string.Format("{0}<{1}>", GetType().Name, UpdateTimestamp.ToString("yyyyMMddHHmmss")));
 }