comparison OrthancServer/ServerJobs/OrthancPeerStoreJob.h @ 2664:a21b244efb37 jobs

serialization of DicomModalityStoreJob, OrthancPeerStoreJob and ResourceModificationJob
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 07 Jun 2018 21:37:40 +0200
parents 988936118354
children 7cfc8d266f41
comparison
equal deleted inserted replaced
2663:228e2783ce83 2664:a21b244efb37
55 OrthancPeerStoreJob(ServerContext& context) : 55 OrthancPeerStoreJob(ServerContext& context) :
56 context_(context) 56 context_(context)
57 { 57 {
58 } 58 }
59 59
60 OrthancPeerStoreJob(ServerContext& context,
61 const Json::Value& serialize);
62
60 void SetPeer(const WebServiceParameters& peer); 63 void SetPeer(const WebServiceParameters& peer);
61 64
62 const WebServiceParameters& GetPeer() const 65 const WebServiceParameters& GetPeer() const
63 { 66 {
64 return peer_; 67 return peer_;
70 { 73 {
71 target = "OrthancPeerStore"; 74 target = "OrthancPeerStore";
72 } 75 }
73 76
74 virtual void GetPublicContent(Json::Value& value); 77 virtual void GetPublicContent(Json::Value& value);
78
79 virtual bool Serialize(Json::Value& target);
75 }; 80 };
76 } 81 }