| com.sun.cldchi.tools.memoryprofiler.jdwp.VMConnection
All known Subclasses: com.sun.cldchi.tools.memoryprofiler.jdwp.BackEndTest,
Method Summary | |
public void | closeConnections() Disconnects from a KDP. | public void | connect(String hostName, int port) Connects to the KDP running on hostName:port. | 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. | 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. | 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. |
sendCommand | public void sendCommand(int command) throws DebugeeException(Code) | | 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.
Parameters: command - - code of command to be sent See Also: VMConnection.sendReplyCommand(int command) See Also: VMConnection.isConnected() |
sendReplyCommand | public VMReply sendReplyCommand(int command, int[] params) throws DebugeeException(Code) | | 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.
Parameters: command - - code of command to be sent Parameters: params - - additional command parameters instance of VMReply for working with the VM responce See Also: VMConnection.sendCommand(int command) See Also: VMConnection.isConnected() |
sendReplyCommand | public VMReply sendReplyCommand(int command) throws DebugeeException(Code) | | 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.
Parameters: command - - code of command to be sent instance of VMReply for working with the VM responce See Also: VMConnection.sendCommand(int command) See Also: VMConnection.isConnected() |
|
|