1 23 package org.objectweb.joram.mom.proxies; 24 25 import org.objectweb.joram.shared.client.AbstractJmsMessage; 26 27 public class ProxyMessage implements java.io.Serializable { 28 29 private long id; 30 31 private long ackId; 32 33 private AbstractJmsMessage obj; 34 35 public ProxyMessage(long id, 36 long ackId, 37 AbstractJmsMessage obj) { 38 this.id = id; 39 this.ackId = ackId; 40 this.obj = obj; 41 } 42 43 public final long getId() { 44 return id; 45 } 46 47 public final long getAckId() { 48 return ackId; 49 } 50 51 public final AbstractJmsMessage getObject() { 52 return obj; 53 } 54 55 public String toString() { 56 return '(' + super.toString() + 57 ",id=" + id + 58 ",ackId=" + ackId + 59 ",obj=" + obj + ')'; 60 } 61 } 62 | Popular Tags |