Exemplo n.º 1
0
 public RemoteWorker(string id, INetworkClientConnection networkConnection, IFilePuller filePuller, IStatusFileParser statusFileParser)
 {
     _id = id;
     _networkConnection = networkConnection;
     _filePuller        = filePuller;
     _statusFileParser  = statusFileParser;
 }
Exemplo n.º 2
0
        // PeachJob

        //      LastCompletedIteration

        //      StartIteration

        //      EndIteration

        public RemoteWorker(INetworkClientConnection networkConnection, IFilePuller filePuller, IStatusFileParser statusFileParser)
            : this(null, networkConnection, filePuller, statusFileParser)
        {
            ;
        }
Exemplo n.º 3
0
        private void networkServerConnection_ConnectionAccepted(INetworkServerConnection parent, INetworkClientConnection clientConnection)
        {
            Console.WriteLine("[SmtpBeastServer::networkServerConnection_ConnectionAccepted]  Connection Accepted - Sending Greeting");

            clientConnection.Send(new SmtpServerMessageBuilder().Greeting());

            clientConnection.Close();

            IsStarted = false;
        }