public RemoteClient(EndPoint endPoint) { state = new ClientState(Environment.MachineName); _connection = new ServerConnectionManager(endPoint); _dispatcher = new ServerEventDispatcher(_connection); _screen = new VirtualScreenManager(state); _hook = new HookManager(_dispatcher, _screen); }
public ServerEventDispatcher(ServerConnectionManager manager) { _manager = manager; }
public ServerEventDispatcher(ServerConnectionManager manager) { _manager = manager; eventHandle = new EventWaitHandle(false, EventResetMode.AutoReset, null); messages = new ConcurrentQueue <IMessage>(); }