|
Core API 6.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This class is used to send command to network device.
| Field Summary | |
static String |
SYNTAX_JUNOSCRIPT
command channel syntax |
static String |
SYNTAX_SNMP
|
| Method Summary | |
String |
getCommandSyntax()
Get command channel syntax |
boolean |
isSupported()
Check if command channel is available |
Response |
pushCommand(String command,
int timeout)
send the command to network device. |
| Field Detail |
public static final String SYNTAX_JUNOSCRIPT
public static final String SYNTAX_SNMP
| Method Detail |
public Response pushCommand(String command,
int timeout)
throws CommandException
CommandException, - thrown if anything failed.
CommandExceptionpublic boolean isSupported()
public String getCommandSyntax()
|
Core API 6.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||