Exemple #1
0
 public MtProtoSender(TcpTransport transport, Session session)
 {
     this.transport = transport;
     this.session   = session;
 }
 public MtProtoPlainSender(TcpTransport transport)
 {
     this.transport = transport;
     random         = new Random();
 }
Exemple #3
0
 public MtProtoSender(TcpTransport transport, ISessionStore sessionStore, Session session)
 {
     this.transport    = transport;
     this.sessionStore = sessionStore;
     this.session      = session;
 }