|
"WEBNMS_5 API Docs" | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TL1ConfigAPI
The TL1ConfigAPI defines the methods that allow addition and deletion of TL1 Objects at Runtime. You can reconnect to a TL1 Device and also send commands to the TL1 Device in sync mode. The TL1 Objects comprises of TL1 Interface, TL1 Node, TL1 Gateway Node, TL1 Gateway Access Session. The following are the functionalities provided by this API:
| Operation | Methods Used |
| Adding TL1 Objects | addTL1Node(TL1Config tl1node)addGNE(GNEConfig gne)addObject(String className,Properties prop)addTID(TIDConfig tid,String ip,String port) |
| Adding a Group | addGroup(TL1Config group) |
| Deleting TL1 Nodes with TargetID | deleteTID(String tidname,String ip,String port) |
| Sending command to NE in Sync Mode | syncSend(Properties prop) |
| Reconnecting to the Device | reconnect(String ipaddress,String port) |
| Method Summary | |
|---|---|
void |
addGNE(GNEConfig gne)
Deprecated. |
void |
addGroup(TL1Config group)
This method is used to add a new Group. |
void |
addObject(java.lang.String className,
java.util.Properties prop)
This method is used to add TL1 Objects such as TL1 Node, TL1 Gateway Node and TID Device. |
void |
addTID(TIDConfig tid,
java.lang.String ip,
java.lang.String port)
Deprecated. |
void |
addTL1Node(TL1Config tl1node)
Deprecated. |
void |
deleteTID(java.lang.String tidname,
java.lang.String ip,
java.lang.String port)
This method is used to delete a TID Object. |
boolean |
reconnect(java.lang.String ipaddress,
java.lang.String port)
This method is used to reconnect to a TL1 Node or a TL1 Gateway Access Session. |
java.lang.String |
syncSend(java.util.Properties prop)
This method is used to send a command to the NE in sync mode and it returns the result as a string. |
| Method Detail |
|---|
void addTL1Node(TL1Config tl1node)
throws java.rmi.RemoteException
TL1Config - This object contains the properties of the TL1Node that has to be added to the database.
java.rmi.RemoteException - if a problem occurs when accessing through RMI.
void addGNE(GNEConfig gne)
throws java.rmi.RemoteException
GNEConfig - This object contains the properties of the GNE that has to be added to the database.
java.rmi.RemoteException - if a problem occurs when accessing through RMI.
void addTID(TIDConfig tid,
java.lang.String ip,
java.lang.String port)
throws java.rmi.RemoteException
TIDConfig - This object contains the properties of the TL1Node with TID that has to be added to the
database.
java.rmi.RemoteException - if a problem occurs when accessing through RMI.
void addGroup(TL1Config group)
throws java.rmi.RemoteException
TL1Config - This object contains the properties of the TL1Node that has to be added to the database.
java.rmi.RemoteException - if a problem occurs when accessing through RMI.
void deleteTID(java.lang.String tidname,
java.lang.String ip,
java.lang.String port)
throws java.rmi.RemoteException
tidname - Name of the TID Device that has to be deletedip - IPAddress of the GNEport - Port of the GNE
java.rmi.RemoteException - if a problem occurs when accessing through RMI.
java.lang.String syncSend(java.util.Properties prop)
throws java.rmi.RemoteException
Properties -
java.rmi.RemoteException - if a problem occurs when accessing through RMI.
boolean reconnect(java.lang.String ipaddress,
java.lang.String port)
throws java.rmi.RemoteException
ipaddress - IPAddress of the TL1 device to which reconnection has to be madeport - TL1 port at which reconnection has to be made.
java.rmi.RemoteException - if a problem occurs when accessing through RMI.
void addObject(java.lang.String className,
java.util.Properties prop)
throws java.rmi.RemoteException
TL1Config Object, GNEConfig Object, TIDConfig Object.
className - Class of the TL1 Object that has to be added to the databaseproperties -
java.rmi.RemoteException - if a problem occurs when accessing through RMI.
|
"WEBNMS_5 API Docs" | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||