Exemple #1
0
 protected virtual void OnRoundTripReceived(RemoteClientInfo client, byte[] payload)
 {
     RoundTripReceived?.Invoke(this, new RoundTripEventArgs()
     {
         Client = client, Payload = payload
     });
 }
Exemple #2
0
 protected virtual void OnSockParcelReceived(RemoteClientInfo client, SockParcel parcel)
 {
     SockParcelReceived?.Invoke(this, new SockeEventArgs()
     {
         Client = client, SockParcel = parcel
     });
 }