public interface TrapdIpMgr
TrapdIpMgr interface.
Modifier and Type | Method and Description |
---|---|
void |
dataSourceSync()
Clears and synchronizes the internal known IP address cache with the
current information contained in the database.
|
long |
getNodeId(String addr)
Returns the nodeid for the IP Address
|
long |
removeNodeId(String addr)
Removes an address from the node ID map.
|
long |
setNodeId(String addr,
long nodeid)
Sets the IP Address and Node ID in the Map.
|
void dataSourceSync() throws SQLException
SQLException
- Thrown if the connection cannot be created or a database
error occurs.long getNodeId(String addr)
addr
- The IP Address to query.long setNodeId(String addr, long nodeid)
addr
- The IP Address to add.nodeid
- The Node ID to add.long removeNodeId(String addr)
addr
- The address to remove from the node ID map.Copyright © 2017. All rights reserved.