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_); } }
internal void OnChannelSend(object sender, ChannelSendEventArgs e) { try { if (Handler != null) { Handler.SendCompleted(this, e); } } catch { } }
public void SendCompleted(Beetle.Express.IServer server, Beetle.Express.ChannelSendEventArgs e) { IProtocolBuffer buffer = (IProtocolBuffer)e.Data.Tag; ProtocolBufferPool.Default.Push(buffer); }