public class Message
extends java.lang.Object
| Constructor and Description |
|---|
Message() |
Message(double pSentTime,
Constants.MessageType pMessageType,
AgentID pFromAgent,
AgentID pToAgent) |
Message(double pSentTime,
Constants.MessageType pMessageType,
AgentID pFromAgent,
AgentID pToAgent,
boolean pNetworkStatus) |
Message(double pSentTime,
Constants.MessageType pMessageType,
AgentID pFromAgent,
AgentID pToAgent,
Claim pClaim) |
Message(double pSentTime,
Constants.MessageType pMessageType,
AgentID pFromAgent,
AgentID pToAgent,
Constants.Treatment pTreatment) |
Message(double pSentTime,
Constants.MessageType pMessageType,
AgentID pFromAgent,
AgentID pToAgent,
Constants.Treatment pTreatment,
AgentID pSpecialistReferred) |
| Modifier and Type | Method and Description |
|---|---|
Claim |
getClaim()
Gets the claim attribute.
|
AgentID |
getFromAgent()
Gets the fromAgent attribute.
|
Constants.MessageType |
getMessageType()
Gets the messageType attribute.
|
boolean |
getNetworkStatus()
Gets the network status attribute.
|
double |
getSentTime()
Gets the sentTime attribute.
|
AgentID |
getSpecialistReferred()
Gets the specialistReferred attribute.
|
AgentID |
getToAgent()
Gets the toAgent attribute.
|
Constants.Treatment |
getTreatment()
Gets the treatment attribute.
|
java.lang.String |
toString()
Returns the message as a string.
|
public Message(double pSentTime,
Constants.MessageType pMessageType,
AgentID pFromAgent,
AgentID pToAgent)
public Message(double pSentTime,
Constants.MessageType pMessageType,
AgentID pFromAgent,
AgentID pToAgent,
Constants.Treatment pTreatment,
AgentID pSpecialistReferred)
public Message(double pSentTime,
Constants.MessageType pMessageType,
AgentID pFromAgent,
AgentID pToAgent,
Constants.Treatment pTreatment)
public Message(double pSentTime,
Constants.MessageType pMessageType,
AgentID pFromAgent,
AgentID pToAgent,
Claim pClaim)
public Message(double pSentTime,
Constants.MessageType pMessageType,
AgentID pFromAgent,
AgentID pToAgent,
boolean pNetworkStatus)
public Message()
public java.lang.String toString()
toString in class java.lang.Objectpublic double getSentTime()
public Constants.MessageType getMessageType()
public AgentID getFromAgent()
public AgentID getToAgent()
public Constants.Treatment getTreatment()
public AgentID getSpecialistReferred()
public Claim getClaim()
public boolean getNetworkStatus()