public RemoteWorker(string id, INetworkClientConnection networkConnection, IFilePuller filePuller, IStatusFileParser statusFileParser) { _id = id; _networkConnection = networkConnection; _filePuller = filePuller; _statusFileParser = statusFileParser; }
// PeachJob // LastCompletedIteration // StartIteration // EndIteration public RemoteWorker(INetworkClientConnection networkConnection, IFilePuller filePuller, IStatusFileParser statusFileParser) : this(null, networkConnection, filePuller, statusFileParser) { ; }
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; }