public class IfsPasvContext extends IfsCommandContext implements PasvContext
| Constructor and Description |
|---|
IfsPasvContext()
The Constructor.
|
IfsPasvContext(SocketFactory socketFactory,
int port)
Other Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the CommandState. does not throw.
|
int |
getPort()
Gets the port.
|
SocketFactory |
getSocketFactory()
Gets the SocketFactory.
|
void |
setPort(int port)
Sets the port.
|
void |
setSocketFactory(SocketFactory socketFactory)
Sets the SocketFactory.
|
public IfsPasvContext()
throws IfsException
IfsExceptionpublic IfsPasvContext(SocketFactory socketFactory, int port) throws IfsException
IfsExceptionpublic void clear()
clear in interface CommandContextclear in class IfsCommandContextpublic SocketFactory getSocketFactory() throws IfsException
getSocketFactory in interface PasvContextIfsExceptionpublic void setSocketFactory(SocketFactory socketFactory) throws IfsException
setSocketFactory in interface PasvContextIfsExceptionpublic int getPort()
throws IfsException
getPort in interface PasvContextIfsExceptionpublic void setPort(int port)
throws IfsException
setPort in interface PasvContextIfsExceptionCopyright © 2025. All rights reserved.