Cisco Systems, Inc.

com.pcube.apps.engage.policy
Class SeNotifApi

java.lang.Object
  extended by com.pcube.apps.engage.policy.SeNotifApi

public class SeNotifApi
extends java.lang.Object


Field Summary
static int MSG_SEVERITY_ERROR
           
static int MSG_SEVERITY_FATAL
           
static int MSG_SEVERITY_INFO
           
static int MSG_SEVERITY_WARN
           
 
Method Summary
static void addUserMsgToLog(com.pcube.management.api.common.Api api, java.lang.String msg, int severity)
           function LGR_addUserMsgToLog { nativeCode = 1629; htmlExposureGroup = 11; desc = ""; args = { IN String msg, desc = ""; IN int16 severity, desc = "message severity: 0 - Fatal, 1 - Error, 2 - Warning, 3 - Info"; }; };
static void sendSnmpTrap(com.pcube.management.api.common.Api api, java.lang.String trapType, java.lang.String description)
           function notification JDMK_sendSnmpTrap { nativeCode = 2631; htmlExposureGroup = "19"; desc = "sends an SNMP trap according to the type enumeration and added with a description string"; args = { IN string argTrapType, desc = "type of the trap to send"; IN string argDescription, desc = ""; }; };
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MSG_SEVERITY_FATAL

public static final int MSG_SEVERITY_FATAL
See Also:
Constant Field Values

MSG_SEVERITY_ERROR

public static final int MSG_SEVERITY_ERROR
See Also:
Constant Field Values

MSG_SEVERITY_WARN

public static final int MSG_SEVERITY_WARN
See Also:
Constant Field Values

MSG_SEVERITY_INFO

public static final int MSG_SEVERITY_INFO
See Also:
Constant Field Values
Method Detail

sendSnmpTrap

public static void sendSnmpTrap(com.pcube.management.api.common.Api api,
                                java.lang.String trapType,
                                java.lang.String description)
                         throws com.pcube.management.common.WrapperException
function notification JDMK_sendSnmpTrap { nativeCode = 2631; htmlExposureGroup = "19"; desc = "sends an SNMP trap according to the type enumeration and added with a description string"; args = { IN string argTrapType, desc = "type of the trap to send"; IN string argDescription, desc = ""; }; };

Parameters:
api -
Throws:
com.pcube.management.common.WrapperException

addUserMsgToLog

public static void addUserMsgToLog(com.pcube.management.api.common.Api api,
                                   java.lang.String msg,
                                   int severity)
                            throws com.pcube.management.common.WrapperException
function LGR_addUserMsgToLog { nativeCode = 1629; htmlExposureGroup = 11; desc = ""; args = { IN String msg, desc = ""; IN int16 severity, desc = "message severity: 0 - Fatal, 1 - Error, 2 - Warning, 3 - Info"; }; };

Parameters:
api -
Throws:
com.pcube.management.common.WrapperException

Cisco Systems, Inc.

Copyright © 2013 Cisco Systems, Inc. Confidential.