01: // You can redistribute this software and/or modify it under the terms of
02: // the Ozone Core License version 1 published by ozone-db.org.
03: //
04: // The original code and portions created by SMB are
05: // Copyright (C) 1997-@year@ by SMB GmbH. All rights reserved.
06: //
07: // $Id: CommandThread.java,v 1.1 2001/12/18 10:31:30 per_nyfelt Exp $
08:
09: package org.ozoneDB.core.DbRemote;
10:
11: import org.ozoneDB.DxLib.*;
12: import org.ozoneDB.core.*;
13: import org.ozoneDB.util.*;
14:
15: /**
16: * @author <a href="http://www.softwarebuero.de/">SMB</a>
17: * @version $Revision: 1.1 $Date: 2001/12/18 10:31:30 $
18: */
19: public final class CommandThread extends Thread {
20:
21: public User owner = null;
22:
23: public Transaction ta = null;
24:
25: public CommandThread(ThreadGroup tg, Runnable run) {
26: super (tg, run);
27: }
28:
29: public void setOwner(User _owner) {
30: owner = _owner;
31: }
32:
33: public User owner() {
34: return owner;
35: }
36:
37: public void setTransaction(Transaction _ta) {
38: ta = _ta;
39: }
40:
41: public Transaction transaction() {
42: return ta;
43: }
44: }
|