📄 smsnotificationproxy.java
字号:
package cn.com.chinatelecom.www.wsdl.ctcc.sms.notification.v2_1._interface;
public class SmsNotificationProxy implements cn.com.chinatelecom.www.wsdl.ctcc.sms.notification.v2_1._interface.SmsNotification {
private String _endpoint = null;
private cn.com.chinatelecom.www.wsdl.ctcc.sms.notification.v2_1._interface.SmsNotification smsNotification = null;
public SmsNotificationProxy() {
_initSmsNotificationProxy();
}
private void _initSmsNotificationProxy() {
try {
smsNotification = (new cn.com.chinatelecom.www.wsdl.ctcc.sms.notification.v2_1.service.SmsNotificationServiceLocator()).getSmsNotification();
if (smsNotification != null) {
if (_endpoint != null)
((javax.xml.rpc.Stub)smsNotification)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
else
_endpoint = (String)((javax.xml.rpc.Stub)smsNotification)._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 (smsNotification != null)
((javax.xml.rpc.Stub)smsNotification)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
}
public cn.com.chinatelecom.www.wsdl.ctcc.sms.notification.v2_1._interface.SmsNotification getSmsNotification() {
if (smsNotification == null)
_initSmsNotificationProxy();
return smsNotification;
}
public void notifySmsReception(java.lang.String registrationIdentifier, cn.com.chinatelecom.www.schema.ctcc.sms.v2_1.SmsMessage message) throws java.rmi.RemoteException{
if (smsNotification == null)
_initSmsNotificationProxy();
smsNotification.notifySmsReception(registrationIdentifier, message);
}
public void notifySmsDeliveryReceipt(java.lang.String correlator, cn.com.chinatelecom.www.schema.ctcc.sms.v2_1.DeliveryInformation deliveryStatus) throws java.rmi.RemoteException{
if (smsNotification == null)
_initSmsNotificationProxy();
smsNotification.notifySmsDeliveryReceipt(correlator, deliveryStatus);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -