Mercurial > hg > orthanc
changeset 393:a5ba074a613d
disabling of find/move handlers
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 29 Apr 2013 12:46:16 +0200 |
parents | 2b189a3d8e94 |
children | f6e61e329bbf 0db2713b91d8 |
files | OrthancServer/main.cpp |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/main.cpp Mon Apr 29 12:41:47 2013 +0200 +++ b/OrthancServer/main.cpp Mon Apr 29 12:46:16 2013 +0200 @@ -86,7 +86,7 @@ virtual void Handle(const DicomMap& input, DicomFindAnswers& answers) { - printf("FindRequest\n"); + LOG(WARNING) << "Find-SCU request received"; DicomArray a(input); a.Print(stdout); } @@ -108,7 +108,7 @@ virtual IMoveRequestIterator* Handle(const std::string& target, const DicomMap& input) { - printf("MoveRequest\n"); + LOG(WARNING) << "Move-SCU request received"; return NULL; } }; @@ -300,8 +300,8 @@ DicomServer dicomServer; dicomServer.SetCalledApplicationEntityTitleCheck(GetGlobalBoolParameter("DicomCheckCalledAet", false)); dicomServer.SetStoreRequestHandlerFactory(serverFactory); - dicomServer.SetMoveRequestHandlerFactory(serverFactory); - dicomServer.SetFindRequestHandlerFactory(serverFactory); + //dicomServer.SetMoveRequestHandlerFactory(serverFactory); + //dicomServer.SetFindRequestHandlerFactory(serverFactory); dicomServer.SetPortNumber(GetGlobalIntegerParameter("DicomPort", 4242)); dicomServer.SetApplicationEntityTitle(GetGlobalStringParameter("DicomAet", "ORTHANC"));