void SessionOnReceivedData(object sender, DataBlockArgs e) { OnReceivedData(e.DataBlock); }
void SessionReceivedData(object sender, DataBlockArgs e) { TSession session = (TSession)sender; OnReceivedData(session, e.DataBlock); }