public class IfsPortContext extends IfsCommandContext implements PortContext
Constructor and Description |
---|
IfsPortContext()
The Constructor.
|
IfsPortContext(SocketFactory socketFactory,
String port)
Other Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the CommandState. does not throw.
|
String |
getPort()
Gets the port.
|
SocketFactory |
getSocketFactory()
Gets the SocketFactory.
|
void |
setPort(String port)
Sets the port.
|
void |
setSocketFactory(SocketFactory socketFactory)
Sets the SocketFactory.
|
public IfsPortContext() throws IfsException
IfsException
public IfsPortContext(SocketFactory socketFactory, String port) throws IfsException
IfsException
public void clear()
clear
in interface CommandContext
clear
in class IfsCommandContext
public SocketFactory getSocketFactory() throws IfsException
getSocketFactory
in interface PortContext
IfsException
public void setSocketFactory(SocketFactory socketFactory) throws IfsException
setSocketFactory
in interface PortContext
IfsException
public String getPort() throws IfsException
getPort
in interface PortContext
IfsException
public void setPort(String port) throws IfsException
setPort
in interface PortContext
IfsException
Copyright © 2023. All rights reserved.