/[projects]/dao/JavaPumpClient/src/Samples/ServiceModel/Microsoft/IRemoteControlProxy.java
ViewVC logotype

Contents of /dao/JavaPumpClient/src/Samples/ServiceModel/Microsoft/IRemoteControlProxy.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2059 - (show annotations) (download)
Wed Aug 28 06:55:13 2013 UTC (10 years, 8 months ago) by torben
File size: 3741 byte(s)
Update to latest WSDL
1 package Samples.ServiceModel.Microsoft;
2
3 public class IRemoteControlProxy implements Samples.ServiceModel.Microsoft.IRemoteControl {
4 private String _endpoint = null;
5 private Samples.ServiceModel.Microsoft.IRemoteControl iRemoteControl = null;
6
7 public IRemoteControlProxy() {
8 _initIRemoteControlProxy();
9 }
10
11 public IRemoteControlProxy(String endpoint) {
12 _endpoint = endpoint;
13 _initIRemoteControlProxy();
14 }
15
16 private void _initIRemoteControlProxy() {
17 try {
18 iRemoteControl = (new org.tempuri.RemoteControlLocator()).getBasicHttpBinding_IRemoteControl();
19 if (iRemoteControl != null) {
20 if (_endpoint != null)
21 ((javax.xml.rpc.Stub)iRemoteControl)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
22 else
23 _endpoint = (String)((javax.xml.rpc.Stub)iRemoteControl)._getProperty("javax.xml.rpc.service.endpoint.address");
24 }
25
26 }
27 catch (javax.xml.rpc.ServiceException serviceException) {}
28 }
29
30 public String getEndpoint() {
31 return _endpoint;
32 }
33
34 public void setEndpoint(String endpoint) {
35 _endpoint = endpoint;
36 if (iRemoteControl != null)
37 ((javax.xml.rpc.Stub)iRemoteControl)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
38
39 }
40
41 public Samples.ServiceModel.Microsoft.IRemoteControl getIRemoteControl() {
42 if (iRemoteControl == null)
43 _initIRemoteControlProxy();
44 return iRemoteControl;
45 }
46
47 public java.lang.String[] getTransports() throws java.rmi.RemoteException{
48 if (iRemoteControl == null)
49 _initIRemoteControlProxy();
50 return iRemoteControl.getTransports();
51 }
52
53 public org.datacontract.schemas._2004._07.DaoMqPump2.StatusData getTransportStatus(java.lang.String transport) throws java.rmi.RemoteException{
54 if (iRemoteControl == null)
55 _initIRemoteControlProxy();
56 return iRemoteControl.getTransportStatus(transport);
57 }
58
59 public void setTransportEnabled(java.lang.String transport, java.lang.Boolean enabled) throws java.rmi.RemoteException{
60 if (iRemoteControl == null)
61 _initIRemoteControlProxy();
62 iRemoteControl.setTransportEnabled(transport, enabled);
63 }
64
65 public java.lang.String[] getTransportLog(java.lang.String transport) throws java.rmi.RemoteException{
66 if (iRemoteControl == null)
67 _initIRemoteControlProxy();
68 return iRemoteControl.getTransportLog(transport);
69 }
70
71 public java.lang.String getTransportDirection(java.lang.String transport) throws java.rmi.RemoteException{
72 if (iRemoteControl == null)
73 _initIRemoteControlProxy();
74 return iRemoteControl.getTransportDirection(transport);
75 }
76
77 public java.lang.String getTransportQueueName(java.lang.String transport) throws java.rmi.RemoteException{
78 if (iRemoteControl == null)
79 _initIRemoteControlProxy();
80 return iRemoteControl.getTransportQueueName(transport);
81 }
82
83 public java.lang.String getTransportInsertQuery(java.lang.String transport) throws java.rmi.RemoteException{
84 if (iRemoteControl == null)
85 _initIRemoteControlProxy();
86 return iRemoteControl.getTransportInsertQuery(transport);
87 }
88
89 public java.lang.String getTransportReadQuery(java.lang.String transport) throws java.rmi.RemoteException{
90 if (iRemoteControl == null)
91 _initIRemoteControlProxy();
92 return iRemoteControl.getTransportReadQuery(transport);
93 }
94
95 public java.lang.String getTransportUpdateQuery(java.lang.String transport) throws java.rmi.RemoteException{
96 if (iRemoteControl == null)
97 _initIRemoteControlProxy();
98 return iRemoteControl.getTransportUpdateQuery(transport);
99 }
100
101
102 }

  ViewVC Help
Powered by ViewVC 1.1.20