public class SerialPortConnection extends java.lang.Object implements ISerialPortService, IRemoteCommandShellService
Modifier and Type | Class and Description |
---|---|
static class |
SerialPortConnection.Factory |
BAUD_RATE_ATTR, BYTE_SIZE_ATTR, CONNECTION_TYPE_ID, PARITY_ATTR, PORT_NAME_ATTR, STOP_BITS_ATTR
Modifier and Type | Method and Description |
---|---|
IRemoteProcess |
getCommandShell(int flags)
Get a remote process that runs a command shell on the remote system.
|
IRemoteConnection |
getRemoteConnection() |
org.eclipse.cdt.serial.SerialPort |
getSerialPort() |
public IRemoteConnection getRemoteConnection()
getRemoteConnection
in interface IRemoteConnection.Service
public org.eclipse.cdt.serial.SerialPort getSerialPort()
getSerialPort
in interface ISerialPortService
public IRemoteProcess getCommandShell(int flags) throws java.io.IOException
IRemoteCommandShellService
IRemoteProcessBuilder.getSupportedFlags()
to find out the flags
supported by the service provider.
Current flags are:IRemoteProcessBuilder.NONE
- disable any flagsIRemoteProcessBuilder.ALLOCATE_PTY
- allocate a pseudo-terminal for the process (RFC-4254 Sec. 6.2)IRemoteProcessBuilder.FORWARD_X11
- enable X11 forwarding (RFC-4254 Sec. 6.3)
getCommandShell
in interface IRemoteCommandShellService
flags
- bitwise-or of flagsjava.io.IOException