Repository
Class RepoTokenImpl.RepoTokenThread

java.lang.Object
  extended byjava.lang.Thread
      extended byRepository.RepoTokenImpl.RepoTokenThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
RepoTokenImpl

class RepoTokenImpl.RepoTokenThread
extends java.lang.Thread

Thread class sending frames to the first station on the ring.


Field Summary
(package private)  java.util.LinkedList queue
          Queue used to pass frames.
(package private)  boolean started
          True when thread started.
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
(package private) RepoTokenImpl.RepoTokenThread()
           
 
Method Summary
(package private)  void checkUsers()
          Check users and passwords in the adjacency list.
 void run()
          Main method of the RepoTokenImpl thread.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

queue

java.util.LinkedList queue
Queue used to pass frames. Elements: TokenFrame objects.


started

boolean started
True when thread started.

Constructor Detail

RepoTokenImpl.RepoTokenThread

RepoTokenImpl.RepoTokenThread()
Method Detail

run

public void run()
Main method of the RepoTokenImpl thread.


checkUsers

void checkUsers()
Check users and passwords in the adjacency list. Called in the RepoTokenImpl thread.