00001 // 00002 // DISCLAIMER: 00003 // This software was produced by the National Institute of Standards 00004 // and Technology (NIST), an agency of the U.S. government, and by statute is 00005 // not subject to copyright in the United States. Recipients of this 00006 // software assume all responsibility associated with its operation, 00007 // modification,maintenance, and subsequent redistribution. 00008 // 00009 // See NIST Administration Manual 4.09.07 b and Appendix I. 00010 // 00011 #include "stdafx.h" 00012 00013 #include "ippdme/Command/ippStopDaemonCommand.h" 00014 #include "ippdme/misc/ippStringBuilder.h" 00015 00016 00017 ippStopDaemonCommand::ippStopDaemonCommand( 00018 unsigned int tagNum, 00019 unsigned int inDaemonTagNumber 00020 ) 00021 : ippCommand(tagNum, CommandTag, StopDaemon) 00022 , _daemonTag(inDaemonTagNumber,EventTag) 00023 { 00024 00025 00026 } 00027 00028 ippStopDaemonCommand::~ippStopDaemonCommand() 00029 { 00030 } 00031 00032 00033 00034 std::string ippStopDaemonCommand::getCommandString() const 00035 { 00036 ippStringBuilder builder(_tag); 00037 builder.StartFunc("StopDaemon"); 00038 builder.Append(_daemonTag.getTagString().c_str()); 00039 builder.EndFunc(); 00040 return builder.ToString(); 00041 } 00042