1 9 package org.ozoneDB.core.DbRemote; 10 11 import org.ozoneDB.core.Transaction; 12 import org.ozoneDB.core.User; 13 14 15 19 public final class CommandThread extends Thread { 20 21 public User owner = null; 22 23 public Transaction ta = null; 24 25 26 public CommandThread( ThreadGroup tg, Runnable 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 |