Ejemplo n.º 1
0
 public SocketPlugin()
 {
     socketStorage       = SocketStorage.CreateSocketStorage();
     dispatcher          = CoreWindow.GetForCurrentThread().Dispatcher;
     dataConsumeDelegate = DataConsumer;
     closeEventDelegate  = CloseEventHandler;
     errorDelegate       = ErrorHandler;
 }
Ejemplo n.º 2
0
 public SocketServerAdapter(
     ISocketStorage socketStorage,
     DataConsumeDelegate dataConsumeDelegate,
     CloseEventDelegate closeEventDelegate,
     ErrorDelegate errorDelegate)
 {
     this.socketStorage       = socketStorage;
     this.dataConsumeDelegate = dataConsumeDelegate;
     this.closeEventDelegate  = closeEventDelegate;
     this.errorDelegate       = errorDelegate;
 }
Ejemplo n.º 3
0
 public SocketPlugin()
 {
     System.Diagnostics.Debug.WriteLine("SocketPlugin constructor: " + DateTime.Now.Ticks);
     this.socketStorage = SocketStorage.CreateSocketStorage();
 }
Ejemplo n.º 4
0
 public SocketPlugin()
 {
     System.Diagnostics.Debug.WriteLine("SocketPlugin constructor: " + DateTime.Now.Ticks);
     this.socketStorage = SocketStorage.CreateSocketStorage();
 }