|
ACP API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CongestionPointInfo
An instance of this interface is passed to the init() method of every ActionCongestionPoint implementation. It provides access to information that may be needed by ActionCongestionPoints. (An ActionCongestionPoint can be thought of as an ACP plug-in that runs inside the ACP's Java Virtual Machine.)
Method Summary | |
---|---|
CongestionPointChecker |
getCongestionPointChecker()
Returns an object that provides the means to obtain references to specific network congestion points known to the ACP. |
net.juniper.smgt.lib.logging.LogWriter |
getDebugLog()
Returns a LogWriter object that can be used to print messages to the DEBUG log. |
net.juniper.smgt.lib.logging.LogWriter |
getErrorLog()
Returns a LogWriter object that can be used to print messages to the ERROR log. |
java.lang.String |
getId()
Returns the ID of the newly created ActionCongestionPoint. |
net.juniper.smgt.lib.logging.LogWriter |
getInfoLog()
Returns a LogWriter object that can be used to print messages to the INFO log. |
net.juniper.smgt.gateway.gal.NIC |
getNICProxy(java.lang.String name)
If the CLI was used to define one or more NIC proxies under the ACP configuration, then those NIC proxies may be obtained by passing their name to this method. |
org.omg.CORBA.ORB |
getOrb()
Returns a reference to the ORB used by the ACP. |
Method Detail |
---|
CongestionPointChecker getCongestionPointChecker()
org.omg.CORBA.ORB getOrb()
net.juniper.smgt.gateway.gal.NIC getNICProxy(java.lang.String name)
name
- The name of the NIC proxy. This is always the name specified on the CLI for when defining a
new NIC proxy under an ACP configuration.java.lang.String getId()
net.juniper.smgt.lib.logging.LogWriter getDebugLog()
public void println(String message);
public void println(String message, Throwable x);
The latter of these two methods will print the Throwable's stacktrace, as well as the message.
net.juniper.smgt.lib.logging.LogWriter getInfoLog()
public void println(String message);
public void println(String message, Throwable x);
The latter of these two methods will print the Throwable's stacktrace, as well as the message.
net.juniper.smgt.lib.logging.LogWriter getErrorLog()
public void println(String message);
public void println(String message, Throwable x);
The latter of these two methods will print the Throwable's stacktrace, as well as the message.
|
ACP API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |