public class debugSession extends Session
| Modifier and Type | Field and Description |
|---|---|
int |
sessionID |
| Constructor and Description |
|---|
debugSession(java.lang.String host,
int port) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect()
Connects to the MIMIC daemon at the configured host and port
|
void |
disconnect()
Disconnects from the MIMIC daemon
|
java.lang.String |
dispatch_msg(int req_id,
java.lang.String req_msg)
Dispatches a request to the MIMIC daemon, retrieves and
returns the reply from the same
|
java.lang.String |
dumpMarkers() |
static java.lang.String |
getExceptionStackTraceAsString(java.lang.Exception exception) |
void |
mark(java.lang.String key,
java.lang.Object value) |
add_access, add_timer_script, agent_mget_changed, agent_mget_config_changed, agent_mget_delay, agent_mget_drops, agent_mget_host, agent_mget_inform_retries, agent_mget_inform_timeout, agent_mget_interface, agent_mget_mask, agent_mget_mibs, agent_mget_oiddir, agent_mget_owner, agent_mget_pdusize, agent_mget_port, agent_mget_privdir, agent_mget_protocols, agent_mget_read_community, agent_mget_scen, agent_mget_sim, agent_mget_starttime, agent_mget_state_changed, agent_mget_state, agent_mget_statistics, agent_mget_trace, agent_mget_validate, agent_mget_write_community, agent_mset_delay, agent_mset_drops, agent_mset_host, agent_mset_inform_retries, agent_mset_inform_timeout, agent_mset_interface, agent_mset_mask, agent_mset_mibs, agent_mset_oiddir, agent_mset_pdusize, agent_mset_port, agent_mset_protocol, agent_mset_read, agent_mset_starttime, agent_mset_trace, agent_mset_validate, agent_mset_write, cfg_load, cfg_load, cfg_load, cfg_load, cfg_new, cfg_new, cfg_save, cfg_save, cfg_saveas, cfg_saveas, del_access, del_timer_script, diag, diag, dump, get_access_acldb, get_access_admindir, get_access_adminuser, get_access_enabled, get_active_data_list_Long, get_active_data_list, get_active_list, get_agent, get_cfg_file_changed, get_cfgfile, get_changed_config_list, get_changed_state_list, get_clients, get_configured_list, get_expiration, get_host, get_interfaces, get_last, get_licensing, get_log, get_max, get_netaddr, get_netdev, get_port, get_privdir, get_product, get_protocols, get_sim_privdir, get_user, get_version, list_access, list_timer_scripts, load_access, protocol_msg, save_access, set_access_acldb, set_access_admindir, set_access_adminuser, set_access_enabled, set_log, start_all_agents, stop_all_agents, store_append, store_exists, store_get, store_list, store_lreplace, store_mget, store_mlreplace, store_persists, store_save, store_set, store_unset, terminate, trap_config_add, trap_config_delete, trap_config_listpublic void mark(java.lang.String key,
java.lang.Object value)
public java.lang.String dumpMarkers()
public void connect()
throws ErrorInfo
Sessionpublic void disconnect()
throws ErrorInfo
Sessiondisconnect in class SessionErrorInfopublic static java.lang.String getExceptionStackTraceAsString(java.lang.Exception exception)
public java.lang.String dispatch_msg(int req_id,
java.lang.String req_msg)
throws ErrorInfo
Sessiondispatch_msg in class Sessionreq_id - (IN) identifier for the requestreq_msg - (IN) message bufferErrorInfo