org.aselect.agent.ntservice
Class AgentEvent

java.lang.Object
  extended by org.aselect.agent.ntservice.AgentEvent

public class AgentEvent
extends java.lang.Object

Implements the class with event codes for use with the ASelect Agent Service for use in Windows environments.

Concurrency issues:
None.

Author:
Alfa & Ariss

Field Summary
static int CLOSE
          Close event ID
static int LOGOFF
          Logoff event ID.
static int SHUTDOWN
          Shutdown event ID.
static int STOP
          Stop event ID.
 
Constructor Summary
AgentEvent(int iID)
          Create a new instance.
 
Method Summary
 int getId()
          get the event ID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STOP

public static final int STOP
Stop event ID.

See Also:
Constant Field Values

SHUTDOWN

public static final int SHUTDOWN
Shutdown event ID.

See Also:
Constant Field Values

CLOSE

public static final int CLOSE
Close event ID

See Also:
Constant Field Values

LOGOFF

public static final int LOGOFF
Logoff event ID.

See Also:
Constant Field Values
Constructor Detail

AgentEvent

public AgentEvent(int iID)
Create a new instance.

Description:
Creates a new AgentEvent with the given ID.

Concurrency issues:
-

Preconditions:
-

Postconditions:
-

Parameters:
iID - The event ID.
Method Detail

getId

public int getId()
get the event ID.

Returns:
The event ID.


Copyright © 2008 SURFnet BV. All Rights Reserved.