Skip navigation links
A C D E I L M R S 

A

ApiConnection - Class in me.legrange.mikrotik
The Mikrotik API connection.
ApiConnection() - Constructor for class me.legrange.mikrotik.ApiConnection
 
ApiConnectionException - Exception in me.legrange.mikrotik
Exception thrown if the Api experiences a connection problem
ApiConnectionException(String) - Constructor for exception me.legrange.mikrotik.ApiConnectionException
Create a new exception.
ApiConnectionException(String, Throwable) - Constructor for exception me.legrange.mikrotik.ApiConnectionException
Create a new exception

C

cancel(String) - Method in class me.legrange.mikrotik.ApiConnection
cancel a command
close() - Method in class me.legrange.mikrotik.ApiConnection
Disconnect from the remote API
completed() - Method in interface me.legrange.mikrotik.ResultListener
called when the command associated with this listener is done
connect(SocketFactory, String, int, int) - Static method in class me.legrange.mikrotik.ApiConnection
Create a new API connection to the give device on the supplied port using the supplied socket factory to create the socket.
connect(String) - Static method in class me.legrange.mikrotik.ApiConnection
Create a new API connection to the give device on the default API port.

D

DEFAULT_COMMAND_TIMEOUT - Static variable in class me.legrange.mikrotik.ApiConnection
default command timeout used for synchronous commands
DEFAULT_CONNECTION_TIMEOUT - Static variable in class me.legrange.mikrotik.ApiConnection
default connection timeout to use when opening the connection
DEFAULT_PORT - Static variable in class me.legrange.mikrotik.ApiConnection
default TCP port used by Mikrotik API
DEFAULT_TLS_PORT - Static variable in class me.legrange.mikrotik.ApiConnection
default TCP TLS port used by Mikrotik API

E

error(MikrotikApiException) - Method in interface me.legrange.mikrotik.ResultListener
called if the command associated with this listener experiences an error
execute(String) - Method in class me.legrange.mikrotik.ApiConnection
execute a command and return a list of results.
execute(String, ResultListener) - Method in class me.legrange.mikrotik.ApiConnection
execute a command and attach a result listener to receive it's results.

I

isConnected() - Method in class me.legrange.mikrotik.ApiConnection
Check the state of connection.

L

login(String, String) - Method in class me.legrange.mikrotik.ApiConnection
Log in to the remote router.

M

me.legrange.mikrotik - package me.legrange.mikrotik
 
MikrotikApiException - Exception in me.legrange.mikrotik
Thrown by the Mikrotik API to indicate errors
MikrotikApiException(String) - Constructor for exception me.legrange.mikrotik.MikrotikApiException
Create a new exception
MikrotikApiException(String, Throwable) - Constructor for exception me.legrange.mikrotik.MikrotikApiException
Create a new exception

R

receive(Map<String, String>) - Method in interface me.legrange.mikrotik.ResultListener
receive data from router
ResultListener - Interface in me.legrange.mikrotik
Implement this interface to receive command results from the Mikrotik Api.

S

setTimeout(int) - Method in class me.legrange.mikrotik.ApiConnection
set the command timeout.
A C D E I L M R S 
Skip navigation links

Copyright © 2018. All rights reserved.