Methods Summary |
---|
public void | closeConnections()Disconnects from a KDP.
|
public void | connect(java.lang.String hostName, int port)Connects to the KDP running on hostName:port.
Could throw ConnectException unless connection is successful
|
public boolean | isConnected()Checks if the instance is connected to a KDP.
|
public void | sendCommand(int command)Sends a command to the VM, which doesn't produces and responce.
Could throw DebugeeException unless sending command is successful
This functions requires connection to a KDP and will throw DebugeeException otherwise.
You can check it with isConnected() function.
To connect to a kdp you must use connect(String hostName, int port) function.
|
public VMReply | sendReplyCommand(int command, int[] params)Sends a command to the VM, which produces some responce and
returns instance of VMReply for working with the
responce.
Could throw DebugeeException unless sending command is successful
This functions requires connection to a KDP and will throw DebugeeException otherwise.
You can check it with isConnected() function.
To connect to a KDP you must use connect(String hostName, int port) function.
|
public VMReply | sendReplyCommand(int command)Sends a command to the VM which don't needs any parameters, which produces some responce and
returns instance of VMReply for working with the
responce.
Could throw DebugeeException unless sending command is successful
This functions requires connection to a KDP and will throw DebugeeException otherwise.
You can check it with isConnected() function.
To connect to a KDP you must use connect(String hostName, int port) function.
|