Debian Codegraph @

javactn/DICOM/Network/Association.java

raw
1 /*
2 * Association
3 */
4
5 package DICOM.Network;
6
7 import java.util.Vector;
8
9 public class Association {
10 public native int open(String callingAETitle,
11 String calledAETitle,
12 String hostName,
13 String port,
14 String SOPClass);
15 public native int close();
16
17 static {
18 System.loadLibrary("javactn");
19 }
20
21 public Association ( ) {
22 }
23
24 public int openAssociation(String callingAETitle,
25 String calledAETitle,
26 String hostName,
27 String port,
28 String SOPClass) {
29
30 int i = open(callingAETitle, calledAETitle, hostName, port, SOPClass);
31 return i;
32 }
33
34 public int closeAssociation() {
35
36 int i = close();
37 return i;
38 }
39 }