package Samples.ServiceModel.Microsoft; public class IRemoteControlProxy implements Samples.ServiceModel.Microsoft.IRemoteControl { private String _endpoint = null; private Samples.ServiceModel.Microsoft.IRemoteControl iRemoteControl = null; public IRemoteControlProxy() { _initIRemoteControlProxy(); } public IRemoteControlProxy(String endpoint) { _endpoint = endpoint; _initIRemoteControlProxy(); } private void _initIRemoteControlProxy() { try { iRemoteControl = (new org.tempuri.RemoteControlLocator()).getBasicHttpBinding_IRemoteControl(); if (iRemoteControl != null) { if (_endpoint != null) ((javax.xml.rpc.Stub)iRemoteControl)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint); else _endpoint = (String)((javax.xml.rpc.Stub)iRemoteControl)._getProperty("javax.xml.rpc.service.endpoint.address"); } } catch (javax.xml.rpc.ServiceException serviceException) {} } public String getEndpoint() { return _endpoint; } public void setEndpoint(String endpoint) { _endpoint = endpoint; if (iRemoteControl != null) ((javax.xml.rpc.Stub)iRemoteControl)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint); } public Samples.ServiceModel.Microsoft.IRemoteControl getIRemoteControl() { if (iRemoteControl == null) _initIRemoteControlProxy(); return iRemoteControl; } public java.lang.String[] getTransports() throws java.rmi.RemoteException{ if (iRemoteControl == null) _initIRemoteControlProxy(); return iRemoteControl.getTransports(); } public org.datacontract.schemas._2004._07.DaoMqPump2.StatusData getTransportStatus(java.lang.String transport) throws java.rmi.RemoteException{ if (iRemoteControl == null) _initIRemoteControlProxy(); return iRemoteControl.getTransportStatus(transport); } public void setTransportEnabled(java.lang.String transport, java.lang.Boolean enabled) throws java.rmi.RemoteException{ if (iRemoteControl == null) _initIRemoteControlProxy(); iRemoteControl.setTransportEnabled(transport, enabled); } public java.lang.String[] getTransportLog(java.lang.String transport) throws java.rmi.RemoteException{ if (iRemoteControl == null) _initIRemoteControlProxy(); return iRemoteControl.getTransportLog(transport); } public java.lang.String getTransportDirection(java.lang.String transport) throws java.rmi.RemoteException{ if (iRemoteControl == null) _initIRemoteControlProxy(); return iRemoteControl.getTransportDirection(transport); } public java.lang.String getTransportQueueName(java.lang.String transport) throws java.rmi.RemoteException{ if (iRemoteControl == null) _initIRemoteControlProxy(); return iRemoteControl.getTransportQueueName(transport); } public java.lang.String getTransportInsertQuery(java.lang.String transport) throws java.rmi.RemoteException{ if (iRemoteControl == null) _initIRemoteControlProxy(); return iRemoteControl.getTransportInsertQuery(transport); } public java.lang.String getTransportReadQuery(java.lang.String transport) throws java.rmi.RemoteException{ if (iRemoteControl == null) _initIRemoteControlProxy(); return iRemoteControl.getTransportReadQuery(transport); } public java.lang.String getTransportUpdateQuery(java.lang.String transport) throws java.rmi.RemoteException{ if (iRemoteControl == null) _initIRemoteControlProxy(); return iRemoteControl.getTransportUpdateQuery(transport); } }