org.micropsi.comp.messages
Class MAgentReq

java.lang.Object
  extended byorg.micropsi.comp.messages.RootMessage
      extended byorg.micropsi.comp.messages.MAgentReq
All Implemented Interfaces:
MessageIF

public class MAgentReq
extends RootMessage
implements MessageIF


Field Summary
static int AGENTREQ_NORMALOP
           
static int AGENTREQ_REGISTER
           
static int AGENTREQ_UNREGISTER
           
 
Constructor Summary
MAgentReq()
           
 
Method Summary
 MAction getAction()
           
 java.lang.String getAgentID()
          Returns the agentID.
 java.lang.String getAgentType()
           
 int getMessageType()
           
 int getRequestType()
          Returns the requestType.
 void setAction(MAction action)
           
 void setAgentID(java.lang.String agentID)
          Sets the agentID.
 void setAgentType(java.lang.String string)
           
 void setRequestType(int requestType)
          Sets the requestType.
 
Methods inherited from class org.micropsi.comp.messages.RootMessage
addAnswer, addQuestion, clearLists, getAnswers, getQuestions, getTime, setTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AGENTREQ_REGISTER

public static final int AGENTREQ_REGISTER
See Also:
Constant Field Values

AGENTREQ_NORMALOP

public static final int AGENTREQ_NORMALOP
See Also:
Constant Field Values

AGENTREQ_UNREGISTER

public static final int AGENTREQ_UNREGISTER
See Also:
Constant Field Values
Constructor Detail

MAgentReq

public MAgentReq()
Method Detail

getMessageType

public int getMessageType()
Specified by:
getMessageType in interface MessageIF

setAction

public void setAction(MAction action)

getAction

public MAction getAction()

getRequestType

public int getRequestType()
Returns the requestType.

Returns:
int

setRequestType

public void setRequestType(int requestType)
Sets the requestType.

Parameters:
requestType - The requestType to set

getAgentID

public java.lang.String getAgentID()
Returns the agentID.

Returns:
String

setAgentID

public void setAgentID(java.lang.String agentID)
Sets the agentID.

Parameters:
agentID - The agentID to set

getAgentType

public java.lang.String getAgentType()
Returns:
the agent type

setAgentType

public void setAgentType(java.lang.String string)
Parameters:
string -

(c) by Micropsi Project: http://www.cognitive-agents.org

.