de.tubs.macs.control
Class TAExpelUser

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--de.tubs.macs.util.transaction.Transaction
              |
              +--de.tubs.macs.control.TAExpelUser

class TAExpelUser
extends Transaction

Expel a user from a locally created Session.

Name: ExpelUser
Group: Session-Name
TTL: 1
Submitted by: Session
ResultListener: MacsControl
Resources: UserManager, SessionNet, Session
Description: Expels a user from a locally created Session. A MACSSessionExpelIndication will be sent to a specified user.

For Dependencies: See `Transaction.properties'.

Author:
Oliver Eggers - IBR Technical University Braunschweig
WWW: http://www.cs.tu-bs.de/~eggers

Fields inherited from class de.tubs.macs.util.transaction.Transaction
ANY, CONTINUOUS, depList, depType, depTypeString, DONE, group, GROUPNONE, LIST, log, name, NONE, ONE_TIME, resultListener, RUNNING, runTime, seq, SLEEPING, startTime, state, stateStr, stopTime, submitTime, ttl, WAITING, waitTime, wakeUpTime
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY, values
 
Constructor Summary
(package private) TAExpelUser(ObjectID expelID, Session session, TAResultListener resultListener)
           
 
Method Summary
 void doTransaction()
          Method to be implement by a developer, who uses the TransactionSystem.
 
Methods inherited from class de.tubs.macs.util.transaction.Transaction
compareTo, equals, equalsGroup, equalsGroup, hardSleep, returnException, returnResult, run, setTSReference, sleep, toString, toTabString, transactionResume, transactionStart, transactionStop, trigger, triggeredSleep, waitDone
 
Methods inherited from class java.lang.Thread
, activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, yield
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TAExpelUser

TAExpelUser(ObjectID expelID,
            Session session,
            TAResultListener resultListener)
Method Detail

doTransaction

public void doTransaction()
Description copied from class: Transaction
Method to be implement by a developer, who uses the TransactionSystem. BEWARE: One should not use loops especially infinite loops in this method. If you have continuous Transactions it's hardly recommended (YOU MUST!) to call the sleep method periodically to avoid busy-polling.
Overrides:
doTransaction in class Transaction