|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use NXCException | |
|---|---|
| org.netxms.client | |
| org.netxms.client.datacollection | |
| org.netxms.client.log | |
| Uses of NXCException in org.netxms.client |
|---|
| Methods in org.netxms.client that throw NXCException | |
|---|---|
void |
NXCSession.acknowledgeAlarm(long alarmId)
Acknowledge alarm. |
void |
NXCSession.bindObject(long parentId,
long childId)
Bind object. |
void |
NXCSession.cancelServerJob(long jobId)
Cancel server job |
void |
NXCSession.changeNodeIpAddress(long nodeId,
java.net.InetAddress addr)
Change primary IP address of a node. |
void |
NXCSession.closeAlarm(long alarmId)
Set alarm's helpdesk state to "Closed". |
void |
NXCSession.closeEventProcessingPolicy()
Close event processing policy. |
void |
NXCSession.connect()
Connect to server using previously set credentials. |
long |
NXCSession.createObject(NXCObjectCreationData data)
Create object |
long |
NXCSession.createUser(java.lang.String name)
Create user on server |
long |
NXCSession.createUserGroup(java.lang.String name)
Create user group on server |
void |
NXCSession.deleteAlarm(long alarmId)
Delete alarm. |
void |
NXCSession.deleteEventTemplate(long eventCode)
Delete event template. |
void |
NXCSession.deleteObject(long objectId)
Delete object |
void |
NXCSession.deleteServerVariable(java.lang.String name)
Delete server configuration variable. |
void |
NXCSession.deleteUserDBObject(long id)
Delete user or group on server |
void |
NXCSession.deployAgentPolicy(long policyId,
long nodeId)
Deploy policy on agent |
void |
NXCSession.executeAction(long nodeId,
java.lang.String action)
Execute action on remote agent |
protected void |
NXCSession.executeSimpleCommand(int command)
Execute simple commands (without arguments and only returning RCC) |
long |
NXCSession.generateEventCode()
Generate code for new event template. |
java.util.HashMap<java.lang.Long,NXCAlarm> |
NXCSession.getAlarms(boolean getTerminated)
Get alarm list. |
java.lang.String |
NXCSession.getAttributeForCurrentUser(java.lang.String name)
Get custom attribute for currently logged in user. |
DciData |
NXCSession.getCollectedData(long nodeId,
long dciId,
java.util.Date from,
java.util.Date to,
int maxRows)
Get collected DCI data from server. |
java.util.List<EventTemplate> |
NXCSession.getEventTemplates()
Get event templates from server |
DciValue[] |
NXCSession.getLastValues(long nodeId)
Get last DCI values for given node |
NXCServerJob[] |
NXCSession.getServerJobList()
Get list of server jobs |
java.util.HashMap<java.lang.String,NXCServerVariable> |
NXCSession.getServerVariables()
Get server configuration variables. |
java.util.List<java.lang.String> |
NXCSession.getSnmpCommunities()
Get list of well-known SNMP communities configured on server. |
java.util.List<SnmpUsmCredential> |
NXCSession.getSnmpUsmCredentials()
Get list of well-known SNMP USM (user security model) credentials configured on server. |
void |
NXCSession.lockEventConfiguration()
Lock event configuration. |
void |
NXCSession.lockUserDatabase()
Lock user database |
void |
NXCSession.modifyEventTemplate(EventTemplate evt)
Modify event template. |
void |
NXCSession.modifyObject(NXCObjectModificationData data)
Modify object (generic interface, in most cases wrapper functions should be used instead) |
void |
NXCSession.modifyUserDBObject(NXCUserDBObject object)
Modify user database object |
void |
NXCSession.modifyUserDBObject(NXCUserDBObject object,
int fields)
Modify user database object |
void |
NXCSession.openAlarm(long alarmId,
java.lang.String reference)
Set alarm's helpdesk state to "Open". |
DataCollectionConfiguration |
NXCSession.openDataCollectionConfiguration(long nodeId)
Open data collection configuration for given node. |
EventProcessingPolicy |
NXCSession.openEventProcessingPolicy()
Open event processing policy for editing. |
Log |
NXCSession.openServerLog(java.lang.String logName)
Open server log by name. |
NetworkMapPage |
NXCSession.queryLayer2Topology(long nodeId)
Query layer 2 topology for node |
Table |
NXCSession.receiveTable(long requestId,
int msgCode)
Receive table from server. |
void |
NXCSession.removeTemplate(long templateId,
long nodeId,
boolean removeDci)
Remove data collection template from node. |
void |
NXCSession.setAttributeForCurrentUser(java.lang.String name,
java.lang.String value)
Set custom attribute for currently logged in user. |
void |
NXCSession.setObjectACL(long objectId,
NXCAccessListElement[] acl,
boolean inheritAccessRights)
Change object's ACL (wrapper for modifyObject()) |
void |
NXCSession.setObjectCustomAttributes(long objectId,
java.util.Map<java.lang.String,java.lang.String> attrList)
Change object's custom attributes (wrapper for modifyObject()) |
void |
NXCSession.setObjectManaged(long objectId,
boolean isManaged)
Set object's managed status. |
void |
NXCSession.setObjectName(long objectId,
java.lang.String name)
Change object's name (wrapper for modifyObject()) |
void |
NXCSession.setServerVariable(java.lang.String name,
java.lang.String value)
Set server configuration variable. |
void |
NXCSession.setUserPassword(long id,
java.lang.String password)
Set password for user |
void |
NXCSession.subscribe(int channels)
Subscribe to notification channel(s) |
void |
NXCSession.syncObjects()
Synchronizes NetXMS objects between server and client. |
void |
NXCSession.syncUserDatabase()
Synchronize user database |
void |
NXCSession.terminateAlarm(long alarmId)
Terminate alarm. |
void |
NXCSession.unbindObject(long parentId,
long childId)
Unbind object. |
void |
NXCSession.uninstallAgentPolicy(long policyId,
long nodeId)
Uninstall policy from agent |
void |
NXCSession.unlockEventConfiguration()
Unlock event configuration. |
void |
NXCSession.unlockUserDatabase()
Unlock user database |
void |
NXCSession.unsubscribe(int channels)
Unsubscribe from notification channel(s) |
void |
NXCSession.updateObjectComments(long objectId,
java.lang.String comments)
Change object's comments. |
void |
NXCSession.updateSnmpCommunities(java.util.List<java.lang.String> list)
Update list of well-known SNMP community strings on server. |
void |
NXCSession.updateSnmpUsmCredentials(java.util.List<SnmpUsmCredential> list)
Update list of well-known SNMP USM credentials on server. |
NXCPMessage |
NXCSession.waitForMessage(int code,
long id)
Wait for message with specific code and id. |
NXCPMessage |
NXCSession.waitForMessage(int code,
long id,
int timeout)
Wait for message with specific code and id. |
NXCPMessage |
NXCSession.waitForRCC(long id)
Wait for CMD_REQUEST_COMPLETED message with given id |
| Uses of NXCException in org.netxms.client.datacollection |
|---|
| Methods in org.netxms.client.datacollection that throw NXCException | |
|---|---|
void |
DataCollectionConfiguration.clearCollectedData(long itemId)
Clear collected data for given DCI. |
void |
DataCollectionConfiguration.close()
Close data collection configuration. |
void |
DataCollectionConfiguration.copyItems(long destNodeId,
long[] items)
Copy data collection items. |
long |
DataCollectionConfiguration.createItem()
Create new data collection item. |
void |
DataCollectionConfiguration.deleteItem(long itemId)
Delete data collection item. |
void |
DataCollectionConfiguration.modifyItem(DataCollectionItem item)
Modify data collection item. |
void |
DataCollectionConfiguration.modifyItem(long itemId)
Modify data collection item. |
void |
DataCollectionConfiguration.moveItems(long destNodeId,
long[] items)
Move data collection items. |
void |
DataCollectionConfiguration.open()
Open data collection configuration. |
void |
DataCollectionConfiguration.setItemStatus(long[] items,
int status)
Set status of data collection items. |
| Uses of NXCException in org.netxms.client.log |
|---|
| Methods in org.netxms.client.log that throw NXCException | |
|---|---|
void |
Log.close()
Close log |
void |
Log.query(LogFilter filter)
Send query to server |
Table |
Log.retrieveData(long startRow,
long rowCount)
Retrieve log data from server. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||