KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > derby > client > net > NetIndoubtTransaction


1 /*
2
3    Derby - Class org.apache.derby.client.net.NetXACallInfo
4
5    Licensed to the Apache Software Foundation (ASF) under one or more
6    contributor license agreements. See the NOTICE file distributed with
7    this work for additional information regarding copyright ownership.
8    The ASF licenses this file to You under the Apache License, Version 2.0
9    (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 JavaDoc;
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 JavaDoc xid_;
34     byte[] uowid_;
35     byte[] cSyncLog_;
36     byte[] pSyncLog_;
37     String JavaDoc ipaddr_;
38     int port_;
39
40     protected NetIndoubtTransaction(Xid JavaDoc xid,
41                                     byte[] uowid,
42                                     byte[] cSyncLog,
43                                     byte[] pSyncLog,
44                                     String JavaDoc 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 JavaDoc 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 JavaDoc getIpAddr() {
71         return ipaddr_;
72     }
73
74     protected int getPort() {
75         return port_;
76     }
77 }
78
Popular Tags