1 7 8 package org.jboss.ejb3.test.clusteredsession; 9 10 import java.io.Serializable ; 11 import java.rmi.dgc.VMID ; 12 13 17 public class NodeAnswer implements Serializable  18 { 19 public VMID nodeId = null; 20 public Object answer = null; 21 22 public NodeAnswer (VMID node, Object answer) 23 { 24 this.nodeId = node; 25 this.answer = answer; 26 } 27 28 public VMID getNodeId () 29 { 30 return this.nodeId; 31 } 32 33 public Object getAnswer() 34 { 35 return this.answer; 36 } 37 38 public String toString () 39 { 40 return "{ " + this.nodeId + " ; " + this.answer + " }"; 41 } 42 } 43 | Popular Tags |