public ReceiveFiles(IOCPMessageQueueRPC Queue) : base(Queue) { foreach (var session in Queue.RegisterRPCHandlers()) { Queue.RegisterRPCHandler(session, new ReceiveFile(this)); } }
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)); } }