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

📄 getqueuedtransfersresponse.java

📁 openacs source for CPE wan management
💻 JAVA
字号:
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package org.openacs.message;import java.util.Hashtable;import java.util.Iterator;import javax.xml.soap.Name;import javax.xml.soap.SOAPBodyElement;import javax.xml.soap.SOAPElement;import javax.xml.soap.SOAPException;import javax.xml.soap.SOAPFactory;import org.openacs.Message;/** * * @author Administrator */public class GetQueuedTransfersResponse extends Message {    @Override    protected void createBody(SOAPBodyElement body, SOAPFactory spf) throws SOAPException {        throw new UnsupportedOperationException("Not supported yet.");    }    @Override    protected void parseBody(SOAPBodyElement body, SOAPFactory spf) throws SOAPException {        Iterator pi = getRequestChildElement (spf, body, "TransferList").getChildElements(spf.createName("QueuedTransferStruct"));        Name nameCommandKey = spf.createName(COMMAND_KEY);        Name nameState = spf.createName("State");        TransferList = new Hashtable <String, String> ();        while (pi.hasNext()) {            SOAPElement param = (SOAPElement)pi.next();            String key = getRequestElement (param, nameCommandKey);            String state = getRequestElement (param, nameState);            TransferList.put(key, state);        }    }        public Hashtable <String, String> TransferList;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -