KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ozoneDB > core > DbRemote > CommandThread


1 // You can redistribute this software and/or modify it under the terms of
2
// the Ozone Core License version 1 published by ozone-db.org.
3
//
4
// The original code and portions created by SMB are
5
// Copyright (C) 1997-@year@ by SMB GmbH. All rights reserved.
6
//
7
// $Id: CommandThread.java,v 1.3 2002/09/18 06:54:15 per_nyfelt Exp $
8

9 package org.ozoneDB.core.DbRemote;
10
11 import org.ozoneDB.core.Transaction;
12 import org.ozoneDB.core.User;
13
14
15 /**
16  * @author <a HREF="http://www.softwarebuero.de/">SMB</a>
17  * @version $Revision: 1.3 $Date: 2002/09/18 06:54:15 $
18  */

19 public final class CommandThread extends Thread JavaDoc {
20
21     public User owner = null;
22
23     public Transaction ta = null;
24
25
26     public CommandThread( ThreadGroup JavaDoc tg, Runnable JavaDoc run ) {
27         super( tg, run );
28     }
29
30
31     public void setOwner( User _owner ) {
32         owner = _owner;
33     }
34
35
36     public User owner() {
37         return owner;
38     }
39
40
41     public void setTransaction( Transaction _ta ) {
42         ta = _ta;
43     }
44
45
46     public Transaction transaction() {
47         return ta;
48     }
49 }
50
Popular Tags