1 21 package org.apache.derby.client.net; 22 23 import javax.transaction.xa.Xid ; 24 25 30 31 public class NetIndoubtTransaction { 32 33 Xid xid_; 34 byte[] uowid_; 35 byte[] cSyncLog_; 36 byte[] pSyncLog_; 37 String ipaddr_; 38 int port_; 39 40 protected NetIndoubtTransaction(Xid xid, 41 byte[] uowid, 42 byte[] cSyncLog, 43 byte[] pSyncLog, 44 String ipaddr, 45 int port) { 46 xid_ = xid; 47 uowid_ = uowid; 48 cSyncLog_ = cSyncLog; 49 pSyncLog_ = pSyncLog; 50 ipaddr_ = ipaddr; 51 port_ = port; 52 } 53 54 protected Xid getXid() { 55 return xid_; 56 } 57 58 protected byte[] getUOWID() { 59 return uowid_; 60 } 61 62 protected byte[] getCSyncLog() { 63 return cSyncLog_; 64 } 65 66 protected byte[] getPSyncLog() { 67 return pSyncLog_; 68 } 69 70 protected String getIpAddr() { 71 return ipaddr_; 72 } 73 74 protected int getPort() { 75 return port_; 76 } 77 } 78 | Popular Tags |