Method Summary |
|
public InetAddress | getAddress() Returns the address attribute.
none. |
public int | getNParallel() Returns the number of simultaneous sessions.
none. |
public int | getPDUMaxSize() Returns the PDU maximum size attribute.
none. |
public int | getPortDst() Returns the destination port attribute.
none. |
public int | getPortSrc() Returns the source port attribute.
none. |
public String | getProxyHost() Returns the proxy host name.
none. |
public int | getProxyPort() Returns the TCP proxy port.
none. |
public boolean | getReconnect() Checks that we must make one connection per GET.
none. |
public int | getTOS() Returns the TOS attribute.
none. |
public String | getURL() Returns the URL to connect to.
none. |
public boolean | getUseProxy() Checks that we must use the proxy.
none. |
public void | setNParallel(int nparallel) Sets the number of simultaneous sessions.
Parameters: nparallel - number of simultaneous sessions. |
public void | setPDUMaxSize(int pdu_max_size) Set the PDU maximum size attribute.
Parameters: pdu_max_size - PDU maximum size attribute. |
public void | setPortDst(int port_dst) Set the destination port attribute.
Parameters: port_dst - destination_port attribute. |
public void | setPortSrc(int port_src) Set the source port attribute.
Parameters: port_src - source_port attribute. |
public void | setProxyHost(String proxy_host) Sets the proxy host name.
Parameters: proxy_host - proxy host name. |
public void | setProxyPort(int proxy_port) Sets the TCP proxy port.
Parameters: proxy_port - TCP proxy port. |
public void | setReconnect(boolean reconnect) Sets it to true if we must make a new connection for each GET.
Parameters: reconnect - true if we must make a new connection for each GET. |
public void | setTOS(int tos) Set the TOS attribute.
Parameters: tos - TOS attribute. |
public void | setURL(String URL) Sets the URL to connect to.
Parameters: URL - URL to connect to. |
public void | setUseProxy(boolean use_proxy) Sets it to true if we must use the proxy.
Parameters: use_proxy - true if we must use the proxy. |
public void | update() Must be called after some setters have been called.
none. |