org.jmythapi.protocol.response
Enum IFileTransfer.Props

java.lang.Object
  extended by java.lang.Enum<IFileTransfer.Props>
      extended by org.jmythapi.protocol.response.IFileTransfer.Props
All Implemented Interfaces:
Serializable, Comparable<IFileTransfer.Props>
Enclosing interface:
IFileTransfer

public static enum IFileTransfer.Props
extends Enum<IFileTransfer.Props>

The properties of an IFileTransfer response.

MythTV Protocol Version Matrix
 Protocol
NameTypeRange006566-1
STATUSString[00,-1)XXXX
SOCKET_IDInteger[00,-1)XXXX
FILESIZE1Long[00,66)XX--
FILESIZE2Long[00,66)XX--
FILESIZELong[66,-1)--XX


Enum Constant Summary
FILESIZE
          File size.
FILESIZE1
          Deprecated. 66
FILESIZE2
          Deprecated. 66
SOCKET_ID
          Socket ID.
STATUS
          Status Code.
 
Method Summary
static IFileTransfer.Props valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IFileTransfer.Props[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STATUS

public static final IFileTransfer.Props STATUS
Status Code.

OK or ERROR

See Also:
FileTransfer.getStatus()

SOCKET_ID

public static final IFileTransfer.Props SOCKET_ID
Socket ID.

See Also:
FileTransfer.getSocketID()

FILESIZE1

public static final IFileTransfer.Props FILESIZE1
Deprecated. 66
File size.

See Also:
FileTransfer.getFileSize()

FILESIZE2

public static final IFileTransfer.Props FILESIZE2
Deprecated. 66
File size.

See Also:
FileTransfer.getFileSize()

FILESIZE

public static final IFileTransfer.Props FILESIZE
File size.

Since:
66
See Also:
FileTransfer.getFileSize()
Method Detail

values

public static IFileTransfer.Props[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (IFileTransfer.Props c : IFileTransfer.Props.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IFileTransfer.Props valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2008-2013. All Rights Reserved.