Serialized Form
revisionInformation
String revisionInformation
- revision information string, managed by our version control system.
immediateList
com.ls.lars.server.ListOfNotifications immediateList
- keeps into a buffer all the next Immediate reqest for notification
requestedList
com.ls.lars.server.ListOfNotifications requestedList
- keeps into a buffer all the reqested for notification made to the
AgentTimer
cronQueue
com.ls.lars.server.CronQueue cronQueue
- keeps into a internal structure all the requests for notification
cronThread
com.ls.lars.server.CronThread cronThread
- it notifies the AgentCron when to verify the cronQueue for the reqests of notification
revisionInformation
String revisionInformation
- Revision information string, managed by our version control system
newJMSServerURLAddress
String newJMSServerURLAddress
- The URL of the JMS server
initialContext
String initialContext
- The name of the initialContext on the JMS Server.
It will be used by the JMS Messenger to set the system property so that JMSMessenger
can connect to the JMS server
sendingQueueName
String sendingQueueName
- The name of the sending Queue on the JMS Server, for example, "queue/A"
receivingQueueName
String receivingQueueName
- The name of the receiving Queue on the JMS Server, for example, "queue/B"
securityPrincipal
String securityPrincipal
- The security principal
securityCredentials
String securityCredentials
- The security credentials
jmsListener
JMSListener jmsListener
- The JMSMessenger to be started by this Agent
revisionInformation
String revisionInformation
- revision information string, managed by our version control system.
loginAgentName
String loginAgentName
- the configured login agent name
revisionInformation
String revisionInformation
- revision information string, managed by our version control system.
revisionInformation
String revisionInformation
- revision information string, managed by our version control system.
port
int port
- the port for the communication
revisionInformation
String revisionInformation
- revision information string, managed by our version control system.
authorizedUsers
Map authorizedUsers
- all authorized users
revisionInformation
String revisionInformation
- revision information string, managed by our version control system.
allAgents
Map allAgents
- Map containing a reference to all agents ever started
revoltingAgents
List revoltingAgents
- List all agents, that denied to be deleted. This variable is used at platform shut down.
base64
Base64 base64
- coder to serialize an agent
messageRouter
MessageRouter messageRouter
- message router for the AgentManager to send and receive messages
agentGenerationParameterHash
HashMap agentGenerationParameterHash
- containing all parameters needed from agents which are started (parameters from each agent are stored here)
groupsOfAgents
com.ls.lars.server.AgentManager.Groups groupsOfAgents
- used to hold the names of the groups available in the system
adminstratorMap
HashMap adminstratorMap
- contains names of lars administators as keys and the corresponding password as values
platformShutdownAt
long platformShutdownAt
- Time (in milliseconds since 01-jan-1970), when the platform will be shut down.
Initially this variable is set to 0, only in case of a valid shutdown request
(see
AgentManager.interpretShutdownPlatform(com.ls.lars.communication.Message)
) this variable is set to a shutdown time.
lastRebelRemindedAt
long lastRebelRemindedAt
- Time (in milliseconds since 01-jan-1970), when the last reminder was sent to all agents, that denied to be
deleted. This variable is used at platform shut down.
Initially this variable is set to 0, only in case of a valid shutdown request
(see
AgentManager.interpretShutdownPlatform(com.ls.lars.communication.Message)
) this variable is set to the time of the shutdown request.
revisionInformation
String revisionInformation
- revision information string, managed by our version control system
messageRouter
MessageRouter messageRouter
- MessageRouter of the local platform
allMyServices
Set allMyServices
- Contains all services as Strings, that AgentMessageRouter is a service provider for.
Note, that this variable is synchronized with help of Collections.synchronizedSet() to avoid problems when
e.g. asking this.allMyServices.contains(...)!
allMyMessageGroups
Set allMyMessageGroups
- Contains all message groups as Strings, that AgentMessageRouter is subscribed for.
Note, that this variable is synchronized with help of Collections.synchronizedSet() to avoid problems when
e.g. asking this.allMyMessageGroups.contains(...)!
allAwaitedAgentNotifications
Map allAwaitedAgentNotifications
- for service notify_agent_connected:
Contains all agents, which want to get notified when a specified agent has been connected
inboxSizeDelimiter
int inboxSizeDelimiter
- the delimiter to check the inbox size against
revisionInformation
String revisionInformation
- revision information string, managed by our version control system.
allKnownPlatforms
Vector allKnownPlatforms
- Member variable that stores all known lars platforms.
ownPlatformListenerParameters
Vector ownPlatformListenerParameters
- Member variable that stores the parameters of all own platform listeners
socketAskConnectionParameterReplyId
String socketAskConnectionParameterReplyId
- Member variable representing the message ID which has been stored by sending the
message ask_for_connection_parameters for the SocketListener.
rmiAskConnectionParameterReplyId
String rmiAskConnectionParameterReplyId
- Member variable representing the message ID which has been stored by sending the
message ask_for_connection_parameters for the RMIListener.
numberListenerRunning
int numberListenerRunning
- Member variable that indicates the number of expected number of listeners running.
connectionAccessControl
ConnectionController.AccessControl connectionAccessControl
- for controlling the accessibility of incoming connection requests
isAgentSynchronizeSupervisorAvailable
boolean isAgentSynchronizeSupervisorAvailable
- knows when the AgentSynchronizeSupervisor got connected to the platform
finishedAwaitingConnectionParameters
boolean finishedAwaitingConnectionParameters
- knows when the connection parameters of all listeners have been received
revisionInformation
String revisionInformation
- revision information string, managed by our version control system
rmiListener
RMIListener rmiListener
- the RMI listener
ipAddress
String ipAddress
- the IP address
revisionInformation
String revisionInformation
- revision information string, managed by our version control system.
socketListener
SocketListener socketListener
- manages incoming client requests via sockets
revisionInformation
String revisionInformation
- revision information string, managed by our version control system.
refreshTimeIfUnconnectedPlatforms
int refreshTimeIfUnconnectedPlatforms
- Member variable containing the refresh time if unconnected platforms exists in milliseconds
refreshTime
int refreshTime
- Member variable containing the regular refresh time for checking platform connections in milliseconds
ownPlatformName
String ownPlatformName
- Member variable of the own lars platform name
ownPlatformIP
String ownPlatformIP
- Member variable of the own lars platform IP
initiallyKnownPlatforms
Vector initiallyKnownPlatforms
- Member variable representing the lars platforms initially known (read from the cfg-file)
agentSychronizeSupervisorName
String agentSychronizeSupervisorName
- Member variable stores agent name of the AgentSynchronizeSupervisor (default: ass)
agentSychronizeConnectionHandlerName
String agentSychronizeConnectionHandlerName
- Member variable stores agent name of the AgentSynchronizeConnectionHandler (default: asch)
agentPlatformSecurityName
String agentPlatformSecurityName
- Member variable stores agent name of the AgentPlatformSecurity (default: aps)
agentListener
Vector agentListener
- Member variable stores names of the agent listeners
preferredProtocolOrder
String preferredProtocolOrder
- Member variable stores order of connection types. Which connection types should be tried first.
If nothing specified in the cfg-file, then just socket connections are used.
this$0
AgentSynchronization this$0
platformMap
Map platformMap
- Member variable representing the remote platform as a map.
platformName
String platformName
- Member variable representing the remote platform name.
platformIP
String platformIP
- Member variable representing the remote platform IP.
platformPort
int platformPort
- Member variable representing the remote platform port to connect.
platformAccess
String platformAccess
- Member variable representing the access type of the remote platform.
platformConnectionType
String platformConnectionType
- Member variable representing the kind of connection (socket,rmi..) of
the remote platform.
platformConnectionParameters
Map platformConnectionParameters
- Member variable representing the connection paramters (compressed, authentification, ...)
of the remote platform.
revisionInformation
String revisionInformation
- revision information string, managed by our version control system.
revisionInformation
String revisionInformation
- revision information string, managed by our version control system.
loopRefreshTime
int loopRefreshTime
- Member variable representing the current loop time for checking platform connections
connectedPlatforms
Vector connectedPlatforms
- Member variable representing the lars platforms which should be connected
actualConnectedPlatforms
Vector actualConnectedPlatforms
- Member variable representing the lars platforms that are connected
newPlatformRegistered
boolean newPlatformRegistered
- Member variable indicating if new lars platforms have been registered
wakeUpLoopStatus
boolean wakeUpLoopStatus
- Member variable indicating if wake_up loop already started
doConnectionReply
boolean doConnectionReply
- Member variable indicating if the AgentSynchronizeConnectionHandler is finished
revisionInformation
String revisionInformation
- revision information string, managed by our version control system
revisionInformation
String revisionInformation
- revision information string, managed by our version control system
runLevel
int runLevel
- current run level of this agent
replacementMap
ReplacementMap replacementMap
- used for variable substitution ($P is platform name, ...) in log file names and config file names
loggerFile
String loggerFile
- the name of the log file
Note: In case of a mobile agent it is very important that the name of the log file not
to be specified as an absolut path!
loggerType
String loggerType
- the type of the log file
loggerLevel
String loggerLevel
- the level for the logging for the file
configFileNameList
List configFileNameList
- name(s) of the agent configuration file(s)
newLogFileMechanism
boolean newLogFileMechanism
- flag, which indicates whether the log file and level is set in AgentManager.cfg
invokeStackCounter
byte invokeStackCounter
- counts the interpret calls for each agent to make sure there is no invocation loop
interpretInvocationMutex
Byte interpretInvocationMutex
- guards (= synchronizes) the invocation counter, that makes sure there is no invocation loop
maxInvokeStackCounter
byte maxInvokeStackCounter
- allowed number of nested interpret calls for each agent to make sure there is no invocation loop, default: 3
protocol
String protocol
- the protocol used for loading the config files
startupConstraintsAgentBag
HashMap startupConstraintsAgentBag
- holds the agent names, who have to be available as specified in the startup_constraint message
startupConstraintsMessageBag
HashMap startupConstraintsMessageBag
- holds the messages, which will be sent as soon as the awaited agents are available
agentMinPool
byte agentMinPool
- the minim number of agents in the pool
agentMaxPool
byte agentMaxPool
- the maxim number of agents in the pool
isPooled
boolean isPooled
- specifies if an agent is implementing IPoolable interface
dynamicObjectController
DynamicObjectController dynamicObjectController
- Allows the storage of (configured) objects and of object definitions and the access of those with help of keys.
Note, that the agent programmer is responsible for synchronizing the usage of those objects!
allServiceAccessPrivileges
Map allServiceAccessPrivileges
- stores the rulings about which agent can access what service
defaultServiceAccessPrivilege
boolean defaultServiceAccessPrivilege
- the default setting for general access
defaultServiceAccessPermission
String defaultServiceAccessPermission
- the default setting for specific access settings
revisionInformation
String revisionInformation
- revision information string, managed by our version control system.
timerQueue
com.ls.lars.server.TimerQueue timerQueue
- the timer utility queue
timerThread
com.ls.lars.server.TimerThread timerThread
- the timer utility thread
innerThrowable
Throwable innerThrowable
- Nested exception to hold wrapped exception.
innerThrowable
Throwable innerThrowable
- Nested exception to hold wrapped exception.
propertyErrors
Map propertyErrors
- Used in case this exception was thrown because of invalid properties. It contains the names of the invalid
properties and maps them to the corresponding error description (as string) or exception object. If this
exception object does not report property errors this attribut is
null
.
hostName
String hostName
- the host name
owner
IFromLars owner
- The owner object id of this class
clientCommunicationThread
Thread clientCommunicationThread
- references the client communication thread and is used in the 'until-the-thread'-loop
revisionInformation
String revisionInformation
- revision information string, managed by our version control system.
revisionInformation
String revisionInformation
- revision information string, managed by our version control system.
agentName
String agentName
- Name of this agent, initialized in the constructor.
Note: This name cannot be modified!
homePlatform
String homePlatform
- lars platform where this agent was born
startTime
long startTime
- when this agent got started (milliseconds since 01-jan-1970)
alreadyTerminated
boolean alreadyTerminated
- assures, that terminateAction is called only once
iPKIHandler
IPKIHandler iPKIHandler
- the Interface to integrate PKI-Handling
timestampOfRecentConnectionCheck
long timestampOfRecentConnectionCheck
- knows the timestamp of the last performed connection check
meantimeBetweenConnectionCheck
long meantimeBetweenConnectionCheck
- knows the meantime between checking the connection
loaded
Hashtable loaded
- all loaded objects
defined
Hashtable defined
- all defined objects
group
String group
- who receives this message (hopefully ;-)? (initially set in constructors)
revisionInformation
String revisionInformation
- revision information string, managed by our version control system.
xmlHandler
XMLHandler xmlHandler
- It is used to make XML-Message-XML Convertions
messengerType
String messengerType
- The type of communication
hostIp
String hostIp
- The ip addres of the LARS platform
hostId
String hostId
- The id of the LARS platform
hostPort
int hostPort
- The port addres of the communication
maxMessageLength
int maxMessageLength
- The maximum message length
object
Object object
- attributes of a conversion exception
loginAgentName
String loginAgentName
- the login agent name
reloadActive
boolean reloadActive
- keeps track of if currently a load or a reload is going on
cat
org.apache.log4j.Category cat
- The category instance to log the messages
larsPattern
org.apache.log4j.PatternLayout larsPattern
- The format of the text that would be written
fileAppender
org.apache.log4j.FileAppender fileAppender
- The appender (log file) for the log process
consoleAppender
org.apache.log4j.ConsoleAppender consoleAppender
- The console appender
logLevel
int logLevel
- logLevel determines which messages have to be logged
logFileName
String logFileName
- name of log file currently used
newLogFileName
String newLogFileName
- name of new log file (used if trying to change to another log file)
threadNameLogging
boolean threadNameLogging
- specifies if the name of the thread is shown in the log file
replacementMap
ReplacementMap replacementMap
- used for variable substitution ($P is platform name, ...)
service
String service
- defines, what this message is about (initially set in constructors)
sender
String sender
- who sent this message?
forwardedBy
ArrayList forwardedBy
- who forwarded this message?
replyWith
String replyWith
- Defines a reply id to use in alle replies to this message.
Note: If replyWith is not null, the sender receives an answer in any case.
check quality of service stuff (which is yet to be defined) to see, if "in _any_ case" is correct
or otherwise adapt the note above
inReplyTo
String inReplyTo
- links an outgoing message with a previously incoming request
qualityOfService
int qualityOfService
- defines, if a reply for this message is needed (default: reply in case of any error)
- See Also:
QualityOfService.QOS_REPLY_ERROR
replyCounter
short replyCounter
- number replies, that were already generated for this message
Note, that this does not tell anything about the reply beeing sent or not!
priority
short priority
- declares the importance of is this message
sentTime
long sentTime
- time in milliseconds since 01.01.1970, when this message was sent;
-1, if Message is not sent yet
currentHops
short currentHops
- how many stations (Messengers ;-) this message passed on it's way
expireHops
short expireHops
- how many stations (Messengers ;-) this message is allowed to
pass on it's way, before it's delivery is assumed to be failed
content
Object content
- Body of the message (initially set in constructors).
Usually this is either a String or a Map.
It is absolutely required, that the content is serializable, if the Message is sent via a remote Messenger.
failureCode
int failureCode
- code of the failure (see
QualityOfService
)
message
Message message
- message that caused the exception
description
String description
- detail message containing the reason for the failure
receivers
List receivers
- who receives this message (hopefully ;-)? (initially set in constructors)
keyVector
Vector keyVector
- to keep order of the hashtable key
variableStartCharacter
char variableStartCharacter
- variables are recognized by their leading variableStartCharacter($) character
rmiMessenger
com.ls.lars.communication.RMIMessenger rmiMessenger
- Variable stores the RMIMessenger to be used for the methods
callBackObject
IRMIConnector callBackObject
- Variable stores the RMIObject to be used for callbacks
logger
ILogger logger
- the reference to the owning agent's log file (initally set to
SystemLogger.getLogger()
)
port
int port
- the number of the port
connectionParameters
Map connectionParameters
- contains the connection parameters for this Listener, e.g the port
failedAgentNames
Collection failedAgentNames
- container holding the agents names for whom this exception is valid
platform
String platform
- on which platform the service shall be accessed?
receiver
String receiver
- who receives this message (hopefully ;-)? (initially set in constructors)
listenerThread
Thread listenerThread
- reference to this thread (needed for proper thread termination)
logger
ILogger logger
- the reference to the owning agent's log file (initally set to
SystemLogger.getLogger()
)
port
int port
- port number of the server socket
serverSocket
ServerSocket serverSocket
- the server socket itself
connectionParameters
Map connectionParameters
- contains the connection parameters for this Listener, e.g the compression settings
exceptionCode
String exceptionCode
- The code of the exception
errorCode
int errorCode
- attributes of a conversion exception
localName
String localName
- holds the root element's local name (i.e. its DOCTYPE)
namespaceURI
String namespaceURI
- holds the root element's name space
qualifiedName
String qualifiedName
- holds the root element's qualified name
documentContent
StringBuffer documentContent
- holds the root element's content
documentAttributes
Map documentAttributes
- holds the root element's attributes
documentChildren
Map documentChildren
- holds the root element's sub elements (its 'children')
documentChildrenValues
List documentChildrenValues
- represents a view on the element names of the root element's children
documentChildrenKeys
List documentChildrenKeys
- represents a view on the XMLFragment objects of the root element's children
xmlString
String xmlString
- attributes of a conversion exception