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