1 24 package com.scalagent.kjoram.jms; 25 26 import java.util.Hashtable ; 27 import java.util.Enumeration ; 28 29 34 public class ServerReply extends AbstractJmsReply 35 { 36 41 public ServerReply(AbstractJmsRequest request) 42 { 43 super(request.getRequestId()); 44 } 45 46 51 public ServerReply(int correlationId) 52 { 53 super(correlationId); 54 } 55 56 59 public ServerReply() 60 {} 61 62 public Hashtable soapCode() { 63 return super.soapCode(); 64 } 65 66 public static Object soapDecode(Hashtable h) { 67 ServerReply req = new ServerReply(); 68 req.setCorrelationId(((Integer ) h.get("correlationId")).intValue()); 69 return req; 70 } 71 } 72 | Popular Tags |