Class: Dcm4chee::Service::MoveScuService
- Defined in:
- lib/dcm4chee/services/move_scu_service.rb
Constant Summary collapse
- MBEAN_NAME =
'dcm4chee.archive:service=MoveScu'
Instance Attribute Summary
Attributes inherited from MBean
Instance Method Summary collapse
-
#schedule_move(retrieve_aet, dest_aet, priority, pid, study_iuids, series_iuids = nil, sop_iuids = nil, scheduled_time = 0) ⇒ Hash
Move data to AE.
Methods inherited from MBean
Constructor Details
This class inherits a constructor from Dcm4chee::Service::MBean
Instance Method Details
#schedule_move(retrieve_aet, dest_aet, priority, pid, study_iuids, series_iuids = nil, sop_iuids = nil, scheduled_time = 0) ⇒ Hash
Move data to AE
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/dcm4chee/services/move_scu_service.rb', line 20 def schedule_move(retrieve_aet, dest_aet, priority, pid, study_iuids, series_iuids = nil, sop_iuids = nil, scheduled_time = 0) signatures = [ 'java.lang.String', 'java.lang.String', 'int', 'java.lang.String', '[Ljava.lang.String;', '[Ljava.lang.String;', '[Ljava.lang.String;', 'long' ] jolokia.execute(MBEAN_NAME, "scheduleMove(#{signatures.join(',')})", [ retrieve_aet, dest_aet, priority || 0, pid, study_iuids, series_iuids, sop_iuids, scheduled_time ]) end |