public class UFTPTunnelRequest extends UFTPBaseRequest
logger
Constructor and Description |
---|
UFTPTunnelRequest(InetAddress[] clientHost,
int targetPort,
String targetHost,
String user,
String secret,
String key,
long ratelimit) |
UFTPTunnelRequest(Properties props) |
Modifier and Type | Method and Description |
---|---|
protected String |
getRequestType() |
String |
getTargetHost() |
int |
getTargetPort() |
void |
writeEncoded(OutputStream os)
writes out the request in properties format 'client-ip=...' 'send=...' etc
|
getClient, getCreatedTime, getSecret, getUser, loadProperties, readResponse, sendTo, sendTo
public UFTPTunnelRequest(InetAddress[] clientHost, int targetPort, String targetHost, String user, String secret, String key, long ratelimit)
public UFTPTunnelRequest(Properties props) throws NumberFormatException, UnknownHostException
public void writeEncoded(OutputStream os) throws IOException
UFTPBaseRequest
writeEncoded
in class UFTPBaseRequest
os
- output stream where the options are written toIOException
protected String getRequestType()
getRequestType
in class UFTPBaseRequest
public String getTargetHost()
public int getTargetPort()
Copyright © 2010–2018 UNICORE. All rights reserved.