|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.hermesftp.cmd.DataChannelInfo
public class DataChannelInfo
Wraps the connection parameter of the data channel into a single object.
Constructor Summary | |
---|---|
DataChannelInfo(java.lang.String addr,
int port)
Constructor. |
|
DataChannelInfo(java.lang.String addr,
int port,
int protocolIdx)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getAddress()
Getter method for address . |
int |
getPort()
Getter method for port . |
int |
getProtocolIdx()
Getter method for protocolIdx . |
void |
setAddress(java.lang.String address)
Setter method for address . |
void |
setPort(int port)
Setter method for port . |
void |
setProtocolIdx(int protocolIdx)
Setter method for protocolIdx . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataChannelInfo(java.lang.String addr, int port)
addr
- The IP address.port
- The port.public DataChannelInfo(java.lang.String addr, int port, int protocolIdx)
addr
- The IP address.port
- The port.protocolIdx
- The protocol index (IPv4, IPv6)Method Detail |
---|
public int getProtocolIdx()
protocolIdx
.
protocolIdx
.public void setProtocolIdx(int protocolIdx)
protocolIdx
.
protocolIdx
- the protocolIdx to setpublic java.lang.String getAddress()
address
.
address
.public void setAddress(java.lang.String address)
address
.
address
- the address to setpublic int getPort()
port
.
port
.public void setPort(int port)
port
.
port
- the port to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |