public class FileTransferParameters extends Wrapper
| Constructor and Description |
|---|
FileTransferParameters(Map<String,String> map) |
| Modifier and Type | Method and Description |
|---|---|
int |
getClientTransferId()
Returns the key that the client has sent to the server to identify their file transfer.
|
String |
getFileServerHost()
Gets the IP address or hostname of the file server the TS3 instance wants us to send our data to.
|
int |
getFileServerPort()
Gets the port of the file server the TS3 instance wants us to send our data to.
|
long |
getFileSize()
Gets the size of the file being downloaded in bytes.
|
String |
getFileTransferKey()
Gets the key needed identify ourselves to the file server and to start the file transfer.
|
String |
getMessage()
Gets the message that is provided in case the command fails.
|
QueryError |
getQueryError()
Gets a
QueryError that can be used when throwing an exception. |
int |
getServerTransferId()
Returns an internal ID that the server uses to identify their file transfer.
|
int |
getStatus()
Gets the status / error code of this command.
|
public FileTransferParameters(Map<String,String> map)
public int getClientTransferId()
public int getServerTransferId()
public String getFileTransferKey()
public String getFileServerHost()
public int getFileServerPort()
public long getFileSize()
public QueryError getQueryError()
QueryError that can be used when throwing an exception.public int getStatus()
public String getMessage()
Released under the MIT license.