messagenotificationproxy.java
来自「一个ISAG Server的模拟器」· Java 代码 · 共 49 行
JAVA
49 行
package cn.com.chinatelecom.www.wsdl.ctcc.wap_push.notification.v1_0._interface;
public class MessageNotificationProxy implements cn.com.chinatelecom.www.wsdl.ctcc.wap_push.notification.v1_0._interface.MessageNotification {
private String _endpoint = null;
private cn.com.chinatelecom.www.wsdl.ctcc.wap_push.notification.v1_0._interface.MessageNotification messageNotification = null;
public MessageNotificationProxy() {
_initMessageNotificationProxy();
}
private void _initMessageNotificationProxy() {
try {
messageNotification = (new cn.com.chinatelecom.www.wsdl.ctcc.wap_push.notification.v1_0.service.MessageNotificationServiceLocator()).getMessageNotification();
if (messageNotification != null) {
if (_endpoint != null)
((javax.xml.rpc.Stub)messageNotification)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
else
_endpoint = (String)((javax.xml.rpc.Stub)messageNotification)._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 (messageNotification != null)
((javax.xml.rpc.Stub)messageNotification)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
}
public cn.com.chinatelecom.www.wsdl.ctcc.wap_push.notification.v1_0._interface.MessageNotification getMessageNotification() {
if (messageNotification == null)
_initMessageNotificationProxy();
return messageNotification;
}
public void notifyMessageDeliveryReceipt(java.lang.String correlator, cn.com.chinatelecom.www.schema.ctcc.wap_push.v1_0.DeliveryInformation deliveryStatus) throws java.rmi.RemoteException{
if (messageNotification == null)
_initMessageNotificationProxy();
messageNotification.notifyMessageDeliveryReceipt(correlator, deliveryStatus);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?