LCM Software
TFTP Package v1.5
A B C D E G I M N O R S T W

A

abortGetRequest() - Static method in class com.lcmsoft.tftp.TftpRequest
Aborts an in-progress call to the methods getRequest(int) or getRequest().

B

BLOCK_SIZE - Static variable in class com.lcmsoft.tftp.TftpRequest
String for the block size standard option.

C

clearBlockSize() - Method in class com.lcmsoft.tftp.TftpRequest
Removes the block size standard option from this request.
clearOption(String) - Method in class com.lcmsoft.tftp.TftpRequest
Removes an option from this request.
clearOptions() - Method in class com.lcmsoft.tftp.TftpRequest
Removes all options from this request.
clearTimeout() - Method in class com.lcmsoft.tftp.TftpRequest
Removes the timeout standard option from this request.
clearTransferSize() - Method in class com.lcmsoft.tftp.TftpRequest
Removes the transfer size standard option from this request.
com.lcmsoft.tftp - package com.lcmsoft.tftp
Provides the classes necessary to implement a TFTP client or server.

D

DEFAULT_RETRIES - Static variable in class com.lcmsoft.tftp.TftpRequest
Default number of retries.
DEFAULT_TIMEOUT - Static variable in class com.lcmsoft.tftp.TftpRequest
Default timeout (seconds).

E

ERROR_ACCESS_VIOLATION - Static variable in exception com.lcmsoft.tftp.TftpErrorException
Access violation.
ERROR_DISK_FULL - Static variable in exception com.lcmsoft.tftp.TftpErrorException
Disk full or allocation exceeded.
ERROR_FILE_EXISTS - Static variable in exception com.lcmsoft.tftp.TftpErrorException
File already exists.
ERROR_FILE_NOT_FOUND - Static variable in exception com.lcmsoft.tftp.TftpErrorException
File not found.
ERROR_ILLEGAL_OPERATION - Static variable in exception com.lcmsoft.tftp.TftpErrorException
Illegal TFTP operation.
ERROR_NO_SUCH_USER - Static variable in exception com.lcmsoft.tftp.TftpErrorException
No such user.
ERROR_NOT_DEFINED - Static variable in exception com.lcmsoft.tftp.TftpErrorException
Not defined.
ERROR_OPTION_NEGOTIATION - Static variable in exception com.lcmsoft.tftp.TftpErrorException
Transfer terminated due to option negotiation.
ERROR_UNKNOW_ID - Static variable in exception com.lcmsoft.tftp.TftpErrorException
Unknow transfer ID.

G

getBlockSize() - Method in class com.lcmsoft.tftp.TftpRequest
Returns the value of the block size standard option.
getCode() - Method in exception com.lcmsoft.tftp.TftpErrorException
Returns the error code.
getDefaultTimeout() - Method in class com.lcmsoft.tftp.TftpRequest
Returns the default timeout.
getFileName() - Method in class com.lcmsoft.tftp.TftpRequest
Returns the file name of this request.
getHost() - Method in class com.lcmsoft.tftp.TftpRequest
Returns the remote host address.
getInputStream() - Method in class com.lcmsoft.tftp.TftpRequest
Returns an InputStream object that receives data from the remote host.
getMessage() - Method in exception com.lcmsoft.tftp.TftpErrorException
Returns the error message.
getMode() - Method in class com.lcmsoft.tftp.TftpRequest
Returns the transfer mode of this request.
getOperation() - Method in class com.lcmsoft.tftp.TftpRequest
Returns the operation this request performs.
getOptionAsInt(String) - Method in class com.lcmsoft.tftp.TftpRequest
Returns the value of an option as an int value.
getOptionAsLong(String) - Method in class com.lcmsoft.tftp.TftpRequest
Returns the value of an option as a long value.
getOptionAsString(String) - Method in class com.lcmsoft.tftp.TftpRequest
Returns the value of a string option.
getOutputStream() - Method in class com.lcmsoft.tftp.TftpRequest
Returns an OutputStream object that receives data from the remote host.
getPort() - Method in class com.lcmsoft.tftp.TftpRequest
Returns the remote host port.
getRegistrationKey() - Static method in class com.lcmsoft.tftp.TftpRegistrationManager
Returns the registration key.
getRequest(int) - Static method in class com.lcmsoft.tftp.TftpRequest
Waits for an incoming client TFTP request on a given port.
getRequest() - Static method in class com.lcmsoft.tftp.TftpRequest
Waits for an incoming client TFTP request on the standard TFTP port.
getRequestBlockSize() - Method in class com.lcmsoft.tftp.TftpRequest
Returns the block size being used by this request.
getRequestTimeout() - Method in class com.lcmsoft.tftp.TftpRequest
Returns the timeout being used by this request.
getRetries() - Method in class com.lcmsoft.tftp.TftpRequest
Returns the number of retries of this request.
getTimeout() - Method in class com.lcmsoft.tftp.TftpRequest
Returns the value of the timeout standard option.
getTransferSize() - Method in class com.lcmsoft.tftp.TftpRequest
Returns the value of the transfer size standard option.

I

isBlockSizeSet() - Method in class com.lcmsoft.tftp.TftpRequest
Tests whether the block size standard option has been set.
isOptionSet(String) - Method in class com.lcmsoft.tftp.TftpRequest
Tests whether an option is set or not.
isOptionValidAsInt(String) - Method in class com.lcmsoft.tftp.TftpRequest
Tests whether an option has a valid int value.
isOptionValidAsLong(String) - Method in class com.lcmsoft.tftp.TftpRequest
Tests whether an option has a valid long value.
isTimeoutSet() - Method in class com.lcmsoft.tftp.TftpRequest
Tests whether the timeout standard option has been set.
isTransferSizeSet() - Method in class com.lcmsoft.tftp.TftpRequest
Tests whether the transfer size standard option has been set.

M

MAIL - Static variable in class com.lcmsoft.tftp.TftpRequest
String for the mail transfer mode.

N

NETASCII - Static variable in class com.lcmsoft.tftp.TftpRequest
String for the netascii transfer mode.

O

OCTET - Static variable in class com.lcmsoft.tftp.TftpRequest
String for the octet transfer mode.
optionsNames() - Method in class com.lcmsoft.tftp.TftpRequest
Returns an iterator over all options of this request.

R

READ - Static variable in class com.lcmsoft.tftp.TftpRequest
Code for the read operation.

S

sendError(int, String) - Method in class com.lcmsoft.tftp.TftpRequest
Signals an error the the remote host.
setBlockSize(int) - Method in class com.lcmsoft.tftp.TftpRequest
Sets the block size standard option.
setDefaultTimeout(int) - Method in class com.lcmsoft.tftp.TftpRequest
Sets the default timeout.
setFileName(String) - Method in class com.lcmsoft.tftp.TftpRequest
Sets the file name for this request.
setHost(InetAddress) - Method in class com.lcmsoft.tftp.TftpRequest
Sets the address of the remote host.
setMode(String) - Method in class com.lcmsoft.tftp.TftpRequest
Sets the transfer mode for this request.
setOperation(int) - Method in class com.lcmsoft.tftp.TftpRequest
Sets the operation this request should perform.
setOption(String, String) - Method in class com.lcmsoft.tftp.TftpRequest
Sets a string option for this request.
setOption(String, long) - Method in class com.lcmsoft.tftp.TftpRequest
Sets a numeric option for this request.
setPort(int) - Method in class com.lcmsoft.tftp.TftpRequest
Sets the port of the remote host.
setRegistrationKey(String) - Static method in class com.lcmsoft.tftp.TftpRegistrationManager
Sets the registration key.
setRetries(int) - Method in class com.lcmsoft.tftp.TftpRequest
Sets the number of retries for this request.
setTimeout(int) - Method in class com.lcmsoft.tftp.TftpRequest
Sets the timeout standard option.
setTransferSize(long) - Method in class com.lcmsoft.tftp.TftpRequest
Sets the transfer size standard option.
STANDARD_BLOCK_SIZE - Static variable in class com.lcmsoft.tftp.TftpRequest
TFTP standard block size.
STANDARD_TFTP_PORT - Static variable in class com.lcmsoft.tftp.TftpRequest
TFTP protocol standard port.

T

TftpErrorException - Exception in com.lcmsoft.tftp
Thrown to indicate that a TFTP error has occurred.
TftpRegistrationManager - Class in com.lcmsoft.tftp
Manages registration keys for the package.
TftpRequest - Class in com.lcmsoft.tftp
Represents a TFTP request.
TftpRequest() - Constructor for class com.lcmsoft.tftp.TftpRequest
Constructs a new TftpRequest.
TIMEOUT - Static variable in class com.lcmsoft.tftp.TftpRequest
String for the timeout standard option.
toString() - Method in exception com.lcmsoft.tftp.TftpErrorException
Returns a string representation of this exception.
TRANSFER_SIZE - Static variable in class com.lcmsoft.tftp.TftpRequest
String for the transfer size standard option.

W

WRITE - Static variable in class com.lcmsoft.tftp.TftpRequest
Code for the write operation.

A B C D E G I M N O R S T W
Copyright © 2004 LCM Software
All rights reserved