01: /*
02:
03: Derby - Class org.apache.derby.client.net.NetXACallInfo
04:
05: Licensed to the Apache Software Foundation (ASF) under one or more
06: contributor license agreements. See the NOTICE file distributed with
07: this work for additional information regarding copyright ownership.
08: The ASF licenses this file to You under the Apache License, Version 2.0
09: (the "License"); you may not use this file except in compliance with
10: the License. You may obtain a copy of the License at
11:
12: http://www.apache.org/licenses/LICENSE-2.0
13:
14: Unless required by applicable law or agreed to in writing, software
15: distributed under the License is distributed on an "AS IS" BASIS,
16: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17: See the License for the specific language governing permissions and
18: limitations under the License.
19:
20: */
21: package org.apache.derby.client.net;
22:
23: import javax.transaction.xa.Xid;
24:
25: /**
26: * <p>Title: dnc Project</p> <p>Description: </p>
27: *
28: * @version 1.0
29: */
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, byte[] uowid,
41: byte[] cSyncLog, byte[] pSyncLog, String ipaddr, int port) {
42: xid_ = xid;
43: uowid_ = uowid;
44: cSyncLog_ = cSyncLog;
45: pSyncLog_ = pSyncLog;
46: ipaddr_ = ipaddr;
47: port_ = port;
48: }
49:
50: protected Xid getXid() {
51: return xid_;
52: }
53:
54: protected byte[] getUOWID() {
55: return uowid_;
56: }
57:
58: protected byte[] getCSyncLog() {
59: return cSyncLog_;
60: }
61:
62: protected byte[] getPSyncLog() {
63: return pSyncLog_;
64: }
65:
66: protected String getIpAddr() {
67: return ipaddr_;
68: }
69:
70: protected int getPort() {
71: return port_;
72: }
73: }
|