Пример #1
0
 private void _socket_OnConnectedAsync(object sender, Peach.EventArgs.ConnectedEventArgs <AmpMessage> e)
 {
     this._logger.LogInformation("-------------------client:connection is connected---------------------");
     this._logger.LogInformation(e.Context.Id);
 }
Пример #2
0
 static void Client_OnConnected(object sender, Peach.EventArgs.ConnectedEventArgs <MqttMessage> e)
 {
     Console.WriteLine("server is connected");
 }
Пример #3
0
 private void _socket_OnConnected(object sender, Peach.EventArgs.ConnectedEventArgs <AmpMessage> e)
 {
 }