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
IfsException
public IfsPasvContext(SocketFactory socketFactory, int port) throws IfsException
IfsException
public void clear()
clear
in interface CommandContext
clear
in class IfsCommandContext
public SocketFactory getSocketFactory() throws IfsException
getSocketFactory
in interface PasvContext
IfsException
public void setSocketFactory(SocketFactory socketFactory) throws IfsException
setSocketFactory
in interface PasvContext
IfsException
public int getPort() throws IfsException
getPort
in interface PasvContext
IfsException
public void setPort(int port) throws IfsException
setPort
in interface PasvContext
IfsException
Copyright © 2023. All rights reserved.