fr.dyade.aaa.agent
Class AdminRequest

java.lang.Object
  extended byfr.dyade.aaa.agent.Notification
      extended byfr.dyade.aaa.agent.AdminRequest
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class AdminRequest
extends Notification

Notification for an administration request.

See Also:
AgentAdmin, Serialized Form

Field Summary
 AdminEventListenerId aeli
          the sender id
static int GetAgentsList
           
static int GetProperties
           
static int GetServerList
           
static int GetServerProperties
           
static int GetServers
           
static int Subscribe_SET
           
static int UnSubscribe_SET
           
 
Fields inherited from class fr.dyade.aaa.agent.Notification
persistent
 
Constructor Summary
AdminRequest(int request)
          constructor used by old version
AdminRequest(int request, AdminEventListenerId aeli)
          constructor used for Administred Server
 
Method Summary
 int getRequest()
          return the number of the AdminRequest.
 int getServerEventType()
          return the ServerEventId (null if this is not a Request for Administred Server).
 boolean setServerEventType(int set)
          Set the ServerEventId.
 
Methods inherited from class fr.dyade.aaa.agent.Notification
clone, getContext, setContext, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

GetServers

public static final int GetServers
See Also:
Constant Field Values

GetProperties

public static final int GetProperties
See Also:
Constant Field Values

Subscribe_SET

public static final int Subscribe_SET
See Also:
Constant Field Values

UnSubscribe_SET

public static final int UnSubscribe_SET
See Also:
Constant Field Values

GetServerList

public static final int GetServerList
See Also:
Constant Field Values

GetServerProperties

public static final int GetServerProperties
See Also:
Constant Field Values

GetAgentsList

public static final int GetAgentsList
See Also:
Constant Field Values

aeli

public AdminEventListenerId aeli
the sender id

Constructor Detail

AdminRequest

public AdminRequest(int request)
constructor used by old version

Parameters:
request - the type of request (Please Use the predefined finals Attributs)

AdminRequest

public AdminRequest(int request,
                    AdminEventListenerId aeli)
constructor used for Administred Server

Parameters:
request - the type of request (Please Use the predefined finals Attributs)
Method Detail

setServerEventType

public boolean setServerEventType(int set)
Set the ServerEventId. return false if AdminRequest is not a Request for Administred Server (: request < 2).


getServerEventType

public int getServerEventType()
return the ServerEventId (null if this is not a Request for Administred Server).


getRequest

public int getRequest()
return the number of the AdminRequest.



Copyright © 2004 Scalagent - All rights reserved