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 ([email protected])
- See Also:
- Vector
-
ERROR
- Flag used in negotiation to indicate that a processing error was
encountered while parsing the corresponding message from the peer.
-
PROPOSE
- Flag used in negotiation to indicate that peer should propose
choices for the given parameter.
-
REPLY
- Flag used in negotiation to indicate that the message is a reply
a message from the peer.
-
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.
-
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.
-
MessageListHead()
- Constructor with no arguments.
-
MessageListHead(String, String, int, Vector)
- Constructor with all arguments
-
getClassName()
- Get the name of the class of objects in the list.
-
getFlags()
-
Get the flags for negotiation.
-
getList()
- Get the list of items in the message.
-
getParameterName()
- Get the name of the parameter.
-
setFlags(int)
- Set the flags for negotiations
-
setList(Vector)
- Set the list of items in the message.
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.
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.
PROPOSE
public static final int PROPOSE
- Flag used in negotiation to indicate that peer should propose
choices for the given parameter.
REPLY
public static final int REPLY
- Flag used in negotiation to indicate that the message is a reply
a message from the peer.
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.
MessageListHead
public MessageListHead(String parameter_name,
String class_name,
int flags,
Vector list)
- Constructor with all arguments
MessageListHead
public MessageListHead()
- Constructor with no arguments.
getParameterName
public String getParameterName()
- Get the name of the parameter.
- Returns:
- name of the parameter being negotiated
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
getFlags
public int getFlags()
- Get the flags for negotiation.
- Returns:
- flags for negotiation.
getList
public Vector getList()
- Get the list of items in the message.
- Returns:
- list of items in the message.
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
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