All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.paneris.messageboard.Thread

java.lang.Object
   |
   +----java.util.Vector
           |
           +----java.util.Stack
                   |
                   +----org.paneris.messageboard.Thread

public class Thread
extends Stack

A mechanism for accessing a messageboard thread.


Constructor Index

 o Thread(Connection)
construct a stack to store messages that are in this thread

Method Index

 o getNext(Message)

get the next message after this one

if we find a follow-up message, return it, and add any other messages that follow-up this one directly to the stack

if we don't find a follow-up, grab the next message off the stack and return it (having added any follow-ups to the stack

empty stack - return null

Constructors

 o Thread
 public Thread(Connection c)
construct a stack to store messages that are in this thread

Methods

 o getNext
 public Message getNext(Message m) throws Exception

get the next message after this one

if we find a follow-up message, return it, and add any other messages that follow-up this one directly to the stack

if we don't find a follow-up, grab the next message off the stack and return it (having added any follow-ups to the stack

empty stack - return null


All Packages  Class Hierarchy  This Package  Previous  Next  Index