jpl.mipl.mdms.FileService.komodo.messaging.msg
Class AgentType
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.AgentType
- All Implemented Interfaces:
- MessageType
public class AgentType
- extends ComplexType
Purpose:
Message describing an agent including agent name, ip and time.
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: AgentType.java,v 1.2 2005/06/30 20:37:22 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
ATTR_AGENT
public static final String ATTR_AGENT
- See Also:
- Constant Field Values
ATTR_IP
public static final String ATTR_IP
- See Also:
- Constant Field Values
ATTR_TIME
public static final String ATTR_TIME
- See Also:
- Constant Field Values
AgentType
public AgentType()
AgentType
public AgentType(String name)
getAttributeNames
public String[] getAttributeNames()
- Overrides:
getAttributeNames in class MessageBase
parse
public void parse(org.dom4j.Element element)
throws Exception
- Description copied from interface:
MessageType
- Parse element parameter and assigns state to this message based on
contents.
- Specified by:
parse in interface MessageType- Overrides:
parse in class MessageBase
- Parameters:
element - XML element to be parsed.
- Throws:
Exception - if parse error occurrs
agent
public String agent()
ip
public String ip()
time
public long time()