fr.dyade.aaa.agent
Interface NetworkMBean

All Known Implementing Classes:
HttpNetwork, Network, NGNetwork, PoolNetwork, SimpleNetwork, SSLNetwork, StreamNetwork

public interface NetworkMBean


Method Summary
 java.lang.String getName()
          Returns this Engine's name.
 long getWDActivationPeriod()
          Gets the WDActivationPeriod value.
 int getWDNbRetryLevel1()
          Gets the WDNbRetryLevel1 value.
 int getWDNbRetryLevel2()
          Gets the WDNbRetryLevel2 value.
 long getWDRetryPeriod1()
          Gets the WDRetryPeriod1 value.
 long getWDRetryPeriod2()
          Gets the WDRetryPeriod2 value.
 long getWDRetryPeriod3()
          Gets the WDRetryPeriod3 value.
 boolean isRunning()
          Tests if the engine is alive.
 void setWDActivationPeriod(long WDActivationPeriod)
          Sets the WDActivationPeriod value.
 void setWDNbRetryLevel1(int WDNbRetryLevel1)
          Sets the WDNbRetryLevel1 value.
 void setWDNbRetryLevel2(int WDNbRetryLevel2)
          Sets the WDNbRetryLevel2 value.
 void setWDRetryPeriod1(long WDRetryPeriod1)
          Sets the WDRetryPeriod1 value.
 void setWDRetryPeriod2(long WDRetryPeriod2)
          Sets the WDRetryPeriod2 value.
 void setWDRetryPeriod3(long WDRetryPeriod3)
          Sets the WDRetryPeriod3 value.
 void start()
          Causes this engine to begin execution
 void stop()
          Forces the engine to stop executing
 java.lang.String toString()
          Returns a string representation of this consumer.
 

Method Detail

getName

java.lang.String getName()
Returns this Engine's name.

Returns:
this Engine's name.

isRunning

boolean isRunning()
Tests if the engine is alive.

Returns:
true if this MessageConsumer is alive; false otherwise.

start

void start()
           throws java.lang.Exception
Causes this engine to begin execution

Throws:
java.lang.Exception

stop

void stop()
Forces the engine to stop executing


toString

java.lang.String toString()
Returns a string representation of this consumer.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this consumer.

getWDActivationPeriod

long getWDActivationPeriod()
Gets the WDActivationPeriod value.

Returns:
the WDActivationPeriod value

setWDActivationPeriod

void setWDActivationPeriod(long WDActivationPeriod)
Sets the WDActivationPeriod value.

Parameters:
WDActivationPeriod - the WDActivationPeriod value

getWDNbRetryLevel1

int getWDNbRetryLevel1()
Gets the WDNbRetryLevel1 value.

Returns:
the WDNbRetryLevel1 value

setWDNbRetryLevel1

void setWDNbRetryLevel1(int WDNbRetryLevel1)
Sets the WDNbRetryLevel1 value.

Parameters:
WDNbRetryLevel1 - the WDNbRetryLevel1 value

getWDRetryPeriod1

long getWDRetryPeriod1()
Gets the WDRetryPeriod1 value.

Returns:
the WDRetryPeriod1 value

setWDRetryPeriod1

void setWDRetryPeriod1(long WDRetryPeriod1)
Sets the WDRetryPeriod1 value.

Parameters:
WDRetryPeriod1 - the WDRetryPeriod1 value

getWDNbRetryLevel2

int getWDNbRetryLevel2()
Gets the WDNbRetryLevel2 value.

Returns:
the WDNbRetryLevel2 value

setWDNbRetryLevel2

void setWDNbRetryLevel2(int WDNbRetryLevel2)
Sets the WDNbRetryLevel2 value.

Parameters:
WDNbRetryLevel2 - the WDNbRetryLevel2 value

getWDRetryPeriod2

long getWDRetryPeriod2()
Gets the WDRetryPeriod2 value.

Returns:
the WDRetryPeriod2 value

setWDRetryPeriod2

void setWDRetryPeriod2(long WDRetryPeriod2)
Sets the WDRetryPeriod2 value.

Parameters:
WDRetryPeriod2 - the WDRetryPeriod2 value

getWDRetryPeriod3

long getWDRetryPeriod3()
Gets the WDRetryPeriod3 value.

Returns:
the WDRetryPeriod3 value

setWDRetryPeriod3

void setWDRetryPeriod3(long WDRetryPeriod3)
Sets the WDRetryPeriod3 value.

Parameters:
WDRetryPeriod3 - the WDRetryPeriod3 value


Copyright © 2004 Scalagent - All rights reserved