コード例 #1
0
 public void SendCompleted(Beetle.Express.IServer server, Beetle.Express.ChannelSendEventArgs e)
 {
     try
     {
         mApplication.OnSendCompleted(new Events.EventDataSendCompletedArgs {
             Application = Application, Info = e, Session = GetSession(e.Channel)
         });
     }
     catch (Exception e_)
     {
         "process DataSendCompleted event error!".Log4Error(e_);
     }
 }
コード例 #2
0
ファイル: TcpServer.cs プロジェクト: zmoli775/beetle.express
 internal void OnChannelSend(object sender, ChannelSendEventArgs e)
 {
     try
     {
         if (Handler != null)
         {
             Handler.SendCompleted(this, e);
         }
     }
     catch
     {
     }
 }
コード例 #3
0
        public void SendCompleted(Beetle.Express.IServer server, Beetle.Express.ChannelSendEventArgs e)
        {
            IProtocolBuffer buffer = (IProtocolBuffer)e.Data.Tag;

            ProtocolBufferPool.Default.Push(buffer);
        }