public class ISerialPort extends IUnknown
Constructor and Description |
---|
ISerialPort(java.lang.String wrapped,
org.virtualbox_6_1.ObjectRefManager objMgr,
org.virtualbox_6_1.jaxws.VboxPortType port) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getEnabled()
Flag whether the serial port is enabled.
|
PortMode |
getHostMode()
How is this port connected to the host.
|
java.lang.Long |
getIOBase()
Base I/O address of the serial port.
|
java.lang.Long |
getIRQ()
IRQ number of the serial port.
|
java.lang.String |
getPath()
Path to the serial port's pipe on the host when
getHostMode() is
PortMode_HostPipe, the host serial device name whengetHostMode() is PortMode_HostDevice or the TCPport(server) orhostname:port(client) whengetHostMode() is PortMode_TCP. |
java.lang.Boolean |
getServer()
Flag whether this serial port acts as a server (creates a new pipe on
the host) or as a client (uses the existing pipe).
|
java.lang.Long |
getSlot()
Slot number this serial port is plugged into.
|
UartType |
getUartType()
Selects the emulated UART implementation.
|
static ISerialPort |
queryInterface(IUnknown obj) |
void |
setEnabled(java.lang.Boolean value)
Flag whether the serial port is enabled.
|
void |
setHostMode(PortMode value)
How is this port connected to the host.
|
void |
setIOBase(java.lang.Long value)
Base I/O address of the serial port.
|
void |
setIRQ(java.lang.Long value)
IRQ number of the serial port.
|
void |
setPath(java.lang.String value)
Path to the serial port's pipe on the host when
getHostMode() is
PortMode_HostPipe, the host serial device name whengetHostMode() is PortMode_HostDevice or the TCPport(server) orhostname:port(client) whengetHostMode() is PortMode_TCP. |
void |
setServer(java.lang.Boolean value)
Flag whether this serial port acts as a server (creates a new pipe on
the host) or as a client (uses the existing pipe).
|
void |
setUartType(UartType value)
Selects the emulated UART implementation.
|
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote
public ISerialPort(java.lang.String wrapped, org.virtualbox_6_1.ObjectRefManager objMgr, org.virtualbox_6_1.jaxws.VboxPortType port)
public java.lang.Long getSlot()
IMachine.getSerialPort(Long)
to obtain this instance.public java.lang.Boolean getEnabled()
public void setEnabled(java.lang.Boolean value)
value
- Booleanpublic java.lang.Long getIOBase()
public void setIOBase(java.lang.Long value)
value
- Longpublic java.lang.Long getIRQ()
public void setIRQ(java.lang.Long value)
value
- Longpublic PortMode getHostMode()
getPath()
are not met.public void setHostMode(PortMode value)
getPath()
are not met.value
- org.virtualbox_6_1.PortModepublic java.lang.Boolean getServer()
getHostMode()
is PortMode_HostPipe or PortMode_TCP.public void setServer(java.lang.Boolean value)
getHostMode()
is PortMode_HostPipe or PortMode_TCP.value
- Booleanpublic java.lang.String getPath()
getHostMode()
is
PortMode_HostPipe, the host serial device name whengetHostMode()
is PortMode_HostDevice or the TCPport(server) orhostname:port(client) whengetHostMode()
is PortMode_TCP.
For those cases, setting a null or empty string as the attribute's
value is an error. Otherwise, the value of this property is ignored.public void setPath(java.lang.String value)
getHostMode()
is
PortMode_HostPipe, the host serial device name whengetHostMode()
is PortMode_HostDevice or the TCPport(server) orhostname:port(client) whengetHostMode()
is PortMode_TCP.
For those cases, setting a null or empty string as the attribute's
value is an error. Otherwise, the value of this property is ignored.value
- Stringpublic UartType getUartType()
public void setUartType(UartType value)
value
- org.virtualbox_6_1.UartTypepublic static ISerialPort queryInterface(IUnknown obj)