1 /*------------------------------------------------------------------------------
 2 Name:      MessageWrapper.java
 3 Project:   xmlBlaster.org
 4 Copyright: xmlBlaster.org, see xmlBlaster-LICENSE file
 5 Author:    Thomas Bodemer
 6 ------------------------------------------------------------------------------*/
 7 package javaclients.simplereader;
 8 
 9 import org.xmlBlaster.client.key.UpdateKey;
10 import org.xmlBlaster.client.qos.UpdateQos;
11 
12 
13 public class MessageWrapper {
14    private String secretCallbackSessionId;
15    private UpdateKey updateKey;
16    private byte[] content;
17    private UpdateQos updateQoS;
18 
19    public MessageWrapper(String secretCallbackSessionId, UpdateKey updateKey, byte[] content, UpdateQos updateQoS) {
20       this.secretCallbackSessionId = secretCallbackSessionId;
21       this.updateKey = updateKey;
22       this.content = content;
23       this.updateQoS = updateQoS;
24    }
25    public String getSecretCallbackSessionId() {
26       return (this.secretCallbackSessionId);
27    }
28    public UpdateKey getUpdateKey() {
29       return (this.updateKey);
30    }
31    public byte[] getContent() {
32       return (this.content);
33    }
34    public UpdateQos getUpdateQos() {
35       return (this.updateQoS);
36    }
37 } // -- class
38 
39 // -- file


syntax highlighted by Code2HTML, v. 0.9.1