org.objectweb.jonas.discovery.DiscEvent Class Reference

Inherits org.objectweb.jonas.discovery.DiscMessage.

Inheritance diagram for org.objectweb.jonas.discovery.DiscEvent:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas.discovery.DiscEvent:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DiscEvent (String sourceAddress, int sourcePort)
 DiscEvent (String sourceAddress, int sourcePort, String serverName, String domainName, String[] connectorURLs)
String getServerName ()
String getDomainName ()
void setDomainName (String domainName)
void setServerName (String serverName)
String[] getConnectorURL ()
void setConnectorURL (String[] connectorURLs)
String getState ()
void setState (String state)
String toString ()

Detailed Description

Author:
Takoua Abdellatif
Version:
1.0

Definition at line 30 of file DiscEvent.java.


Constructor & Destructor Documentation

org.objectweb.jonas.discovery.DiscEvent.DiscEvent String  sourceAddress,
int  sourcePort
 

Parameters:
sourceAddress 
sourcePort 

Definition at line 60 of file DiscEvent.java.

org.objectweb.jonas.discovery.DiscEvent.DiscEvent String  sourceAddress,
int  sourcePort,
String  serverName,
String  domainName,
String[]  connectorURLs
 

Constructor for a Discovery Event.

Parameters:
sourceAddress the host address to use to receive a response.
sourcePort is the port used in the case of a point to point response.
serverName is Jonas server name.
domainName is Jonas domain name.
connectorURLs contains the list of all connector urls registered in the mbean server.

Definition at line 79 of file DiscEvent.java.


Member Function Documentation

String [] org.objectweb.jonas.discovery.DiscEvent.getConnectorURL  ) 
 

Returns:
the connector URLs of the server sending the discovery event

Definition at line 126 of file DiscEvent.java.

Referenced by org.objectweb.jonas.management.j2eemanagement.J2EEDomain.handleNotification(), and org.objectweb.jonas.jmx.JmxServiceImpl.handleNotification().

String org.objectweb.jonas.discovery.DiscEvent.getDomainName  ) 
 

returns domain name.

Returns:
domain name.

Definition at line 101 of file DiscEvent.java.

Referenced by org.objectweb.jonas.management.j2eemanagement.J2EEDomain.handleNotification(), and org.objectweb.jonas.jmx.JmxServiceImpl.handleNotification().

String org.objectweb.jonas.discovery.DiscEvent.getServerName  ) 
 

returns server name.

Returns:
serverName

Definition at line 92 of file DiscEvent.java.

Referenced by org.objectweb.jonas.management.j2eemanagement.J2EEDomain.handleNotification(), and org.objectweb.jonas.jmx.JmxServiceImpl.handleNotification().

String org.objectweb.jonas.discovery.DiscEvent.getState  ) 
 

Returns:
server state.

Definition at line 140 of file DiscEvent.java.

Referenced by org.objectweb.jonas.management.j2eemanagement.J2EEDomain.handleNotification(), and org.objectweb.jonas.jmx.JmxServiceImpl.handleNotification().

void org.objectweb.jonas.discovery.DiscEvent.setConnectorURL String[]  connectorURLs  ) 
 

Parameters:
connectorURLs the connector URLs of the server sending the discovery event

Definition at line 133 of file DiscEvent.java.

void org.objectweb.jonas.discovery.DiscEvent.setDomainName String  domainName  ) 
 

sets the domain name.

Parameters:
domainName the management domain name

Definition at line 110 of file DiscEvent.java.

void org.objectweb.jonas.discovery.DiscEvent.setServerName String  serverName  ) 
 

sets the serverName

Parameters:
serverName the name of the server sending the discovery event

Definition at line 119 of file DiscEvent.java.

void org.objectweb.jonas.discovery.DiscEvent.setState String  state  ) 
 

sets the server state : RUNNING or STOPPING.

Parameters:
state state of the server sending the discovery event

Definition at line 149 of file DiscEvent.java.

Referenced by org.objectweb.jonas.discovery.DiscoveryComm.createNotifMessage().

String org.objectweb.jonas.discovery.DiscEvent.toString  ) 
 

The string version of the message

Returns:
the message

Reimplemented from org.objectweb.jonas.discovery.DiscMessage.

Definition at line 157 of file DiscEvent.java.


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:06:47 2005 for JOnAS by  doxygen 1.3.9.1