public class IfsOpenSocketContext extends IfsCommandContext implements OpenSocketContext
Constructor and Description |
---|
IfsOpenSocketContext()
The Constructor.
|
IfsOpenSocketContext(SocketFactory socketFactory)
Other Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the CommandState. does not throw.
|
Socket |
getSocket()
Gets the Socket.
|
SocketFactory |
getSocketFactory()
Gets the SocketFactory.
|
void |
setSocket(Socket socket)
Sets the Socket.
|
void |
setSocketFactory(SocketFactory socketFactory)
Sets the SocketFactory.
|
public IfsOpenSocketContext() throws IfsException
IfsException
public IfsOpenSocketContext(SocketFactory socketFactory) throws IfsException
IfsException
public void clear()
clear
in interface CommandContext
clear
in class IfsCommandContext
public SocketFactory getSocketFactory()
getSocketFactory
in interface OpenSocketContext
public void setSocketFactory(SocketFactory socketFactory)
setSocketFactory
in interface OpenSocketContext
public Socket getSocket()
getSocket
in interface OpenSocketContext
public void setSocket(Socket socket)
setSocket
in interface OpenSocketContext
Copyright © 2023. All rights reserved.