jpl.mipl.mdms.FileService.komodo.messaging.msg
Class AgentMsgType
java.lang.Object
jpl.mipl.mdms.FileService.komodo.messaging.msg.MessageBase
jpl.mipl.mdms.FileService.komodo.messaging.msg.ComplexType
jpl.mipl.mdms.FileService.komodo.messaging.msg.AgentMsgType
- All Implemented Interfaces:
- MessageType
public class AgentMsgType
- extends ComplexType
Purpose:
Agent message for non-file operations.
Copyright 2005, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledge. 2005.
============================================================================
Modification History :
----------------------
Date Who What
----------------------------------------------------------------------------
06/14/2005 Nick Initial Release
============================================================================
- Version:
- $Id: AgentMsgType.java,v 1.6 2006/08/19 02:57:00 ntt Exp $
- Author:
- Nicholas Toole (Nicholas.T.Toole@jpl.nasa.gov)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ELEMENT_NAME
public static final String ELEMENT_NAME
- See Also:
- Constant Field Values
CHILD_CONNECTIONS
public static final String CHILD_CONNECTIONS
- See Also:
- Constant Field Values
CHILD_MAX_CONNS
public static final String CHILD_MAX_CONNS
- See Also:
- Constant Field Values
CHILD_MESSAGE
public static final String CHILD_MESSAGE
- See Also:
- Constant Field Values
ATTR_OPCODE
public static final String ATTR_OPCODE
- See Also:
- Constant Field Values
ATTR_REQUESTER
public static final String ATTR_REQUESTER
- See Also:
- Constant Field Values
AgentMsgType
public AgentMsgType()
getChildrenNames
public String[] getChildrenNames()
- Overrides:
getChildrenNames in class ComplexType
getAttributeNames
public String[] getAttributeNames()
- Overrides:
getAttributeNames in class MessageBase
connections
public SimpleType connections()
maxConnections
public SimpleType maxConnections()
message
public SimpleType message()
parseChildren
public void parseChildren(org.dom4j.Element element)
throws Exception
- Overrides:
parseChildren in class MessageBase
- Throws:
Exception
isRequired
protected boolean isRequired(String childName)
- Description copied from class:
ComplexType
- Method tests if a child message type is required to form a legal
message.
- Overrides:
isRequired in class ComplexType
- Parameters:
childName - Name to which child message is bound
- Returns:
- True if child is required, false otherwise.
opcode
public String opcode()
requester
public String requester()