All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.util.msgtools.MessageListHead

java.lang.Object
   |
   +----semper.util.msgtools.MessageListHead

public class MessageListHead
extends Object
implements Serializable
An object of this class will be at the head of a list of items in a negotiation message. A negotiation message will consist of many lists. Each list will consist of a MessageListHead object and a list of objects (of any class) from which the choice is made.

Version:
$Revision: 1.3 $ $Date: 1997/06/16 16:50:57 $
Author:
N. Asokan (aso@zurich.ibm.com)
See Also:
Vector

Variable Index

 o ERROR
Flag used in negotiation to indicate that a processing error was encountered while parsing the corresponding message from the peer.
 o PROPOSE
Flag used in negotiation to indicate that peer should propose choices for the given parameter.
 o REPLY
Flag used in negotiation to indicate that the message is a reply a message from the peer.
 o SELECT_ONE
Flag used in negotiation to indicate that peer should select a single acceptable value from the given list for the specified parameter and return the result.
 o SELECT_SUBSET
Flag used in negotiation to indicate that peer should select acceptable values from the given list for the specified parameter and return the result.

Constructor Index

 o MessageListHead()
Constructor with no arguments.
 o MessageListHead(String, String, int, Vector)
Constructor with all arguments

Method Index

 o getClassName()
Get the name of the class of objects in the list.
 o getFlags()
Get the flags for negotiation.
 o getList()
Get the list of items in the message.
 o getParameterName()
Get the name of the parameter.
 o setFlags(int)
Set the flags for negotiations
 o setList(Vector)
Set the list of items in the message.

Variables

 o SELECT_SUBSET
 public static final int SELECT_SUBSET
Flag used in negotiation to indicate that peer should select acceptable values from the given list for the specified parameter and return the result.

 o SELECT_ONE
 public static final int SELECT_ONE
Flag used in negotiation to indicate that peer should select a single acceptable value from the given list for the specified parameter and return the result.

 o PROPOSE
 public static final int PROPOSE
Flag used in negotiation to indicate that peer should propose choices for the given parameter.

 o REPLY
 public static final int REPLY
Flag used in negotiation to indicate that the message is a reply a message from the peer.

 o ERROR
 public static final int ERROR
Flag used in negotiation to indicate that a processing error was encountered while parsing the corresponding message from the peer.

Constructors

 o MessageListHead
 public MessageListHead(String parameter_name,
                        String class_name,
                        int flags,
                        Vector list)
Constructor with all arguments

 o MessageListHead
 public MessageListHead()
Constructor with no arguments.

Methods

 o getParameterName
 public String getParameterName()
Get the name of the parameter.

Returns:
name of the parameter being negotiated
 o getClassName
 public String getClassName()
Get the name of the class of objects in the list.

Returns:
name of the class of objects of the parameter being negotiated
 o getFlags
 public int getFlags()
Get the flags for negotiation.

Returns:
flags for negotiation.
 o getList
 public Vector getList()
Get the list of items in the message.

Returns:
list of items in the message.
 o setList
 public void setList(Vector list)
Set the list of items in the message.

Parameters:
list - a Vector object containing the list of items
Returns:
nothing
See Also:
Vector
 o setFlags
 public void setFlags(int flags)
Set the flags for negotiations

Parameters:
flags - new flags for negotiation
Returns:
nothing

All Packages  Class Hierarchy  This Package  Previous  Next  Index