comparison Core/DicomNetworking/DicomControlUserConnection.cpp @ 3830:447880856ce8

removing deprecated DicomUserControl from OrthancRestModalities.cpp
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 10 Apr 2020 17:29:11 +0200
parents 3d1bb2193832
children 138d0dde41b5
comparison
equal deleted inserted replaced
3828:3d1bb2193832 3830:447880856ce8
429 { 429 {
430 SetupPresentationContexts(); 430 SetupPresentationContexts();
431 } 431 }
432 432
433 433
434 DicomControlUserConnection::DicomControlUserConnection(const std::string& localAet,
435 const RemoteModalityParameters& remote) :
436 parameters_(localAet, remote),
437 association_(new DicomAssociation)
438 {
439 SetupPresentationContexts();
440 }
441
442
434 bool DicomControlUserConnection::Echo() 443 bool DicomControlUserConnection::Echo()
435 { 444 {
436 association_->Open(parameters_); 445 association_->Open(parameters_);
437 446
438 DIC_US status; 447 DIC_US status;