public class AbstractComPortCommandSwitch extends java.lang.Object implements ComPortCommandSwitch
ComPortCommandSwitch implementations.| Constructor and Description |
|---|
AbstractComPortCommandSwitch() |
| Modifier and Type | Method and Description |
|---|---|
void |
caseBaudRate(BaudRateCommand command)
Visit method invoked by
BaudRateCommand instances. |
void |
caseControl(ControlCommand command)
Visit method invoked by
ControlCommand instances. |
void |
caseDataSize(DataSizeCommand command)
Visit method invoked by
DataSizeCommand instances. |
protected void |
caseDefault(ComPortCommand command)
Default handler.
|
void |
caseFlowControlResume(FlowControlResumeCommand command)
Visit method invoked by
FlowControlResumeCommand instances. |
void |
caseFlowControlSuspend(FlowControlSuspendCommand command)
Visit method invoked by
FlowControlSuspendCommand instances. |
void |
caseLineStateMask(LineStateMaskCommand command)
Visit method invoked by
LineStateMaskCommand instances. |
void |
caseModemStateMask(ModemStateMaskCommand command)
Visit method invoked by
ModemStateMaskCommand instances. |
void |
caseNotifyLineState(NotifyLineStateCommand command)
Visit method invoked by
NotifyLineStateCommand instances. |
void |
caseNotifyModemState(NotifyModemStateCommand command)
Visit method invoked by
NotifyModemStateCommand instances. |
void |
caseParity(ParityCommand command)
Visit method invoked by
ParityCommand instances. |
void |
casePurgeData(PurgeDataCommand command)
Visit method invoked by
PurgeDataCommand instances. |
void |
caseSignature(SignatureCommand command)
Visit method invoked by
SignatureCommand instances. |
void |
caseStopSize(StopSizeCommand command)
Visit method invoked by
StopSizeCommand instances. |
public void caseSignature(SignatureCommand command)
SignatureCommand instances.
The implementation in AbstractComPortCommandSwitch delegates to caseDefault(gnu.io.rfc2217.ComPortCommand).caseSignature in interface ComPortCommandSwitchpublic void caseBaudRate(BaudRateCommand command)
BaudRateCommand instances.
The implementation in AbstractComPortCommandSwitch delegates to caseDefault(gnu.io.rfc2217.ComPortCommand).caseBaudRate in interface ComPortCommandSwitchpublic void caseDataSize(DataSizeCommand command)
DataSizeCommand instances.
The implementation in AbstractComPortCommandSwitch delegates to caseDefault(gnu.io.rfc2217.ComPortCommand).caseDataSize in interface ComPortCommandSwitchpublic void caseParity(ParityCommand command)
ParityCommand instances.
The implementation in AbstractComPortCommandSwitch delegates to caseDefault(gnu.io.rfc2217.ComPortCommand).caseParity in interface ComPortCommandSwitchpublic void caseStopSize(StopSizeCommand command)
StopSizeCommand instances.
The implementation in AbstractComPortCommandSwitch delegates to caseDefault(gnu.io.rfc2217.ComPortCommand).caseStopSize in interface ComPortCommandSwitchpublic void caseControl(ControlCommand command)
ControlCommand instances.
The implementation in AbstractComPortCommandSwitch delegates to caseDefault(gnu.io.rfc2217.ComPortCommand).caseControl in interface ComPortCommandSwitchpublic void caseNotifyLineState(NotifyLineStateCommand command)
NotifyLineStateCommand instances.
The implementation in AbstractComPortCommandSwitch delegates to caseDefault(gnu.io.rfc2217.ComPortCommand).caseNotifyLineState in interface ComPortCommandSwitchpublic void caseNotifyModemState(NotifyModemStateCommand command)
NotifyModemStateCommand instances.
The implementation in AbstractComPortCommandSwitch delegates to caseDefault(gnu.io.rfc2217.ComPortCommand).caseNotifyModemState in interface ComPortCommandSwitchpublic void caseFlowControlSuspend(FlowControlSuspendCommand command)
FlowControlSuspendCommand instances.
The implementation in AbstractComPortCommandSwitch delegates to caseDefault(gnu.io.rfc2217.ComPortCommand).caseFlowControlSuspend in interface ComPortCommandSwitchpublic void caseFlowControlResume(FlowControlResumeCommand command)
FlowControlResumeCommand instances.
The implementation in AbstractComPortCommandSwitch delegates to caseDefault(gnu.io.rfc2217.ComPortCommand).caseFlowControlResume in interface ComPortCommandSwitchpublic void caseLineStateMask(LineStateMaskCommand command)
LineStateMaskCommand instances.
The implementation in AbstractComPortCommandSwitch delegates to caseDefault(gnu.io.rfc2217.ComPortCommand).caseLineStateMask in interface ComPortCommandSwitchpublic void caseModemStateMask(ModemStateMaskCommand command)
ModemStateMaskCommand instances.
The implementation in AbstractComPortCommandSwitch delegates to caseDefault(gnu.io.rfc2217.ComPortCommand).caseModemStateMask in interface ComPortCommandSwitchpublic void casePurgeData(PurgeDataCommand command)
PurgeDataCommand instances.
The implementation in AbstractComPortCommandSwitch delegates to caseDefault(gnu.io.rfc2217.ComPortCommand).casePurgeData in interface ComPortCommandSwitchprotected void caseDefault(ComPortCommand command)
AbstractComPortCommandSwitch delegate to this method;
the implementation in AbstractComPortCommandSwitch does nothing.