示例#1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="args"></param>
 public void SendString(object sender, StringEventArgs args)
 {
     if (OnSendString != null)
     {
         OnSendString(sender, args);
     }
 }
示例#2
0
 private static void Events_OnSendString(object sender, StringEventArgs e)
 {
     ProtocolState.Socket.Write(e.content);
 }
示例#3
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="args"></param>
 public void RawMessage(object sender, StringEventArgs args)
 {
     if (OnRawMessage != null)
     {
         OnRawMessage(sender, args);
     }
 }