jade.core.event
Class MTPEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--jade.util.Event
              |
              +--jade.core.event.JADEEvent
                    |
                    +--jade.core.event.MTPEvent

public class MTPEvent
extends JADEEvent

This class represents an event related to the MTP configuration.

Version:
$Date: 2002/08/28 15:14:13 $ $Revision: 1.2 $
Author:
Giovanni Rimassa - Universita` di Parma
See Also:
Serialized Form

Field Summary
static int ADDED_MTP
           
static int MESSAGE_IN
           
static int MESSAGE_OUT
           
static int REMOVED_MTP
           
 
Fields inherited from class jade.util.Event
type
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MTPEvent(int id, ContainerID cid, Channel ch)
           
MTPEvent(int id, ContainerID cid, Envelope e, byte[] pl)
           
 
Method Summary
 Channel getChannel()
           
 Envelope getEnvelope()
           
 byte[] getPayload()
           
 boolean isCommunication()
           
 boolean isInstall()
           
 
Methods inherited from class jade.core.event.JADEEvent
getPlace, getTime
 
Methods inherited from class jade.util.Event
addParameter, getParameter, getType, notifyProcessed, resetProcessed, waitUntilProcessed
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ADDED_MTP

public static final int ADDED_MTP

REMOVED_MTP

public static final int REMOVED_MTP

MESSAGE_IN

public static final int MESSAGE_IN

MESSAGE_OUT

public static final int MESSAGE_OUT
Constructor Detail

MTPEvent

public MTPEvent(int id,
                ContainerID cid,
                Channel ch)

MTPEvent

public MTPEvent(int id,
                ContainerID cid,
                Envelope e,
                byte[] pl)
Method Detail

getChannel

public Channel getChannel()

getEnvelope

public Envelope getEnvelope()

getPayload

public byte[] getPayload()

isInstall

public boolean isInstall()

isCommunication

public boolean isCommunication()