⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 messagenotificationproxy.java

📁 一个ISAG Server的模拟器
💻 JAVA
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -