jade.core.event
Interface NotificationSlice

All Superinterfaces:
java.io.Serializable, Service.Slice
All Known Implementing Classes:
NotificationProxy

public interface NotificationSlice
extends Service.Slice

The horizontal interface for the JADE kernel-level service managing the event notification subsystem installed in the platform.

Author:
Giovanni Rimassa - FRAMeTech s.r.l.

Field Summary
static java.lang.String DEBUG_OFF
          This command name represents the action of deactivating a previously started instance of the Introspector agent.
static java.lang.String DEBUG_ON
          This command name represents the action of activating an instance of the Introspector agent.
static java.lang.String H_DEBUGOFF
           
static java.lang.String H_DEBUGON
           
static java.lang.String H_SNIFFOFF
           
static java.lang.String H_SNIFFON
           
static java.lang.String NAME
          The name of this service.
static java.lang.String NOTIFY_BEHAVIOUR_ADDED
          This command name represents the action of submitting to the Notification Service a BehaviourAdded event.
static java.lang.String NOTIFY_BEHAVIOUR_REMOVED
          This command name represents the action of submitting to the Notification Service a BehaviourRemoved event.
static java.lang.String NOTIFY_CHANGED_AGENT_PRINCIPAL
          This command name represents the action of submitting to the Notification Service a ChangedAgentPrincipal event.
static java.lang.String NOTIFY_CHANGED_AGENT_STATE
          This command name represents the action of submitting to the Notification Service a ChangedAgentState event.
static java.lang.String NOTIFY_CHANGED_BEHAVIOUR_STATE
          This command name represents the action of submitting to the Notification Service a ChangedBehaviourState event.
static java.lang.String NOTIFY_POSTED
          This command name represents the action of submitting to the Notification Service a MessagePosted event.
static java.lang.String NOTIFY_RECEIVED
          This command name represents the action of submitting to the Notification Service a MessageReceived event.
static java.lang.String SNIFF_OFF
          This command name represents the action of deactivating a previously started instance of the Sniffer agent.
static java.lang.String SNIFF_ON
          This command name represents the action of activating an instance of the Sniffer agent.
 
Method Summary
 void debugOff(AID introspectorName, AID targetName)
           
 void debugOn(AID introspectorName, AID targetName)
           
 void sniffOff(AID snifferName, AID targetName)
           
 void sniffOn(AID snifferName, AID targetName)
           
 
Methods inherited from interface jade.core.Service.Slice
getNode, getService, serve
 

Field Detail

NAME

static final java.lang.String NAME
The name of this service.

See Also:
Constant Field Values

SNIFF_ON

static final java.lang.String SNIFF_ON
This command name represents the action of activating an instance of the Sniffer agent.

See Also:
Constant Field Values

SNIFF_OFF

static final java.lang.String SNIFF_OFF
This command name represents the action of deactivating a previously started instance of the Sniffer agent.

See Also:
Constant Field Values

DEBUG_ON

static final java.lang.String DEBUG_ON
This command name represents the action of activating an instance of the Introspector agent.

See Also:
Constant Field Values

DEBUG_OFF

static final java.lang.String DEBUG_OFF
This command name represents the action of deactivating a previously started instance of the Introspector agent.

See Also:
Constant Field Values

NOTIFY_POSTED

static final java.lang.String NOTIFY_POSTED
This command name represents the action of submitting to the Notification Service a MessagePosted event.

See Also:
Constant Field Values

NOTIFY_RECEIVED

static final java.lang.String NOTIFY_RECEIVED
This command name represents the action of submitting to the Notification Service a MessageReceived event.

See Also:
Constant Field Values

NOTIFY_CHANGED_AGENT_STATE

static final java.lang.String NOTIFY_CHANGED_AGENT_STATE
This command name represents the action of submitting to the Notification Service a ChangedAgentState event.

See Also:
Constant Field Values

NOTIFY_CHANGED_AGENT_PRINCIPAL

static final java.lang.String NOTIFY_CHANGED_AGENT_PRINCIPAL
This command name represents the action of submitting to the Notification Service a ChangedAgentPrincipal event.

See Also:
Constant Field Values

NOTIFY_BEHAVIOUR_ADDED

static final java.lang.String NOTIFY_BEHAVIOUR_ADDED
This command name represents the action of submitting to the Notification Service a BehaviourAdded event.

See Also:
Constant Field Values

NOTIFY_BEHAVIOUR_REMOVED

static final java.lang.String NOTIFY_BEHAVIOUR_REMOVED
This command name represents the action of submitting to the Notification Service a BehaviourRemoved event.

See Also:
Constant Field Values

NOTIFY_CHANGED_BEHAVIOUR_STATE

static final java.lang.String NOTIFY_CHANGED_BEHAVIOUR_STATE
This command name represents the action of submitting to the Notification Service a ChangedBehaviourState event.

See Also:
Constant Field Values

H_SNIFFON

static final java.lang.String H_SNIFFON
See Also:
Constant Field Values

H_SNIFFOFF

static final java.lang.String H_SNIFFOFF
See Also:
Constant Field Values

H_DEBUGON

static final java.lang.String H_DEBUGON
See Also:
Constant Field Values

H_DEBUGOFF

static final java.lang.String H_DEBUGOFF
See Also:
Constant Field Values
Method Detail

sniffOn

void sniffOn(AID snifferName,
             AID targetName)
             throws IMTPException
Throws:
IMTPException

sniffOff

void sniffOff(AID snifferName,
              AID targetName)
              throws IMTPException
Throws:
IMTPException

debugOn

void debugOn(AID introspectorName,
             AID targetName)
             throws IMTPException
Throws:
IMTPException

debugOff

void debugOff(AID introspectorName,
              AID targetName)
              throws IMTPException
Throws:
IMTPException