Beispiel #1
0
 public ReceiveFiles(IOCPMessageQueueRPC Queue)
     : base(Queue)
 {
     foreach (var session in Queue.RegisterRPCHandlers())
     {
         Queue.RegisterRPCHandler(session, new ReceiveFile(this));
     }
 }
Beispiel #2
0
 public ReceiveFiles(IOCPMessageQueueRPC Queue)
     : base(Queue)
 {
     foreach (var session in Queue.RegisterRPCHandlers())
     {
         Queue.RegisterRPCHandler(session, new ReceiveFile(this));
     }
 }
Beispiel #3
0
 public IronPythonServer(int Port)
 {
     _port = Port;
     _q = new IOCPMessageQueueRPC();
     _server = new IOCPServer(_port);
     _server.MessageQueue = _q;
     foreach (var session in _q.RegisterRPCHandlers())
     {
         _q.RegisterRPCHandler(session, new IronPythonHandler(this));
     }
 }
Beispiel #4
0
 public IronPythonServer(int Port)
 {
     _port   = Port;
     _q      = new IOCPMessageQueueRPC();
     _server = new IOCPServer(_port);
     _server.MessageQueue = _q;
     foreach (var session in _q.RegisterRPCHandlers())
     {
         _q.RegisterRPCHandler(session, new IronPythonHandler(this));
     }
 }