jade.tools.sniffer
Class Message

java.lang.Object
  |
  +--jade.lang.acl.ACLMessage
        |
        +--jade.tools.sniffer.Message

public class Message
extends jade.lang.acl.ACLMessage
implements java.io.Serializable

A Message extends the meaning of an ACLMessage (thus extending jade.lang.acl.ACLMessage) providing an ACLMessage with the graphic part: the arrow going from the sender of the message to the receiver of the message to be drawn on the Message Canvas

Author:
Gianluca Tanca
See Also:
ACLMessage, Serialized Form

Field Summary
protected static MMCanvas canvMess
           
static int offset
           
static int r
           
static int step
           
 
Fields inherited from class jade.lang.acl.ACLMessage
ACCEPT_PROPOSAL, AGREE, CANCEL, CFP, CONFIRM, DISCONFIRM, FAILURE, INFORM, INFORM_IF, INFORM_REF, NOT_UNDERSTOOD, PROPAGATE, PROPOSE, PROXY, QUERY_IF, QUERY_REF, REFUSE, REJECT_PROPOSAL, REQUEST, REQUEST_WHEN, REQUEST_WHENEVER, SUBSCRIBE, UNKNOWN
 
Constructor Summary
Message(jade.lang.acl.ACLMessage msg)
           
Message(java.lang.String s, java.lang.String r)
           
 
Method Summary
 int getEndSeg(int xD)
           
 int getInitSeg(int xS)
           
 int getOrdSeg(int yDim)
           
 
Methods inherited from class jade.lang.acl.ACLMessage
addReceiver, addReplyTo, addUserDefinedParameter, clearAllReceiver, clearAllReplyTo, clone, createReply, getAllPerformatives, getAllReceiver, getAllReplyTo, getAllUserDefinedParameters, getContent, getContentObject, getConversationId, getEncoding, getEnvelope, getInReplyTo, getInteger, getLanguage, getOntology, getPerformative, getPerformative, getProtocol, getReplyBy, getReplyByDate, getReplyWith, getSender, getUserDefinedParameter, removeReceiver, removeReplyTo, removeUserDefinedParameter, reset, setContent, setContentObject, setConversationId, setDefaultEnvelope, setEncoding, setEnvelope, setInReplyTo, setLanguage, setOntology, setPerformative, setProtocol, setReplyBy, setReplyByDate, setReplyWith, setSender, toString, toText
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

canvMess

protected static MMCanvas canvMess

step

public static final int step

offset

public static final int offset

r

public static final int r
Constructor Detail

Message

public Message(java.lang.String s,
               java.lang.String r)

Message

public Message(jade.lang.acl.ACLMessage msg)
Method Detail

getInitSeg

public int getInitSeg(int xS)

getEndSeg

public int getEndSeg(int xD)

getOrdSeg

public int getOrdSeg(int yDim)