net.juniper.smgt.sae.router.command
Class UnsupportedCommandChannel
java.lang.Object
|
+--net.juniper.smgt.sae.router.command.UnsupportedCommandChannel
- All Implemented Interfaces:
- CommandChannel
- public class UnsupportedCommandChannel
- extends Object
- implements CommandChannel
dummy command channel for those router drivers who doesn't support
it yet
UnsupportedCommandChannel
public UnsupportedCommandChannel()
getCommandSyntax
public String getCommandSyntax()
- Description copied from interface:
CommandChannel
- Get command channel syntax
- Specified by:
getCommandSyntax in interface CommandChannel
- Returns:
- one of the command syntax
e.g. 'JUNOScript', 'JUNOSe_SNMP'
isSupported
public boolean isSupported()
- Description copied from interface:
CommandChannel
- Check if command channel is available
- Specified by:
isSupported in interface CommandChannel
- Returns:
- true if command channel is available
pushCommand
public Response pushCommand(String aCommand,
int timeout)
throws CommandException
- Description copied from interface:
CommandChannel
- send the command to network device.
- Specified by:
pushCommand in interface CommandChannel
- Returns:
- Response, the response message from network device.
CommandException