de.tubs.macs.control
Class TARecvSessionInvite

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

public class TARecvSessionInvite
extends Transaction

Process a MACSSessionInviteRequest.

Name: RecvSessionInvite
Group: Session-Name
TTL: 1
Submitted by: SystemNet
ResultListener: MacsControl
Resources: TransactionSystem, SessionManager, Session, SystemNet
Description: Processes a MACSSessionInviteRequest received for a specific Session.

For Dependencies: See `Transaction.properties'.

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

Field Summary
(package private)  MACSSessionInviteRequest req
           
(package private)  long request
           
(package private)  ObjectID senderID
           
(package private)  long sequence
           
(package private)  Session session
           
(package private)  java.io.Serializable user_data
           
 
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
TARecvSessionInvite(MACSSessionInviteRequest req, 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
 

Field Detail

session

Session session

senderID

ObjectID senderID

sequence

long sequence

request

long request

user_data

java.io.Serializable user_data

req

MACSSessionInviteRequest req
Constructor Detail

TARecvSessionInvite

public TARecvSessionInvite(MACSSessionInviteRequest req,
                           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