com.BobCo.FileExplorer
Class ConsoleRequestDirectoryContentsCommand

com.tivoli.twg.libs.Command
  |
  +--com.BobCo.FileExplorer.ConsoleRequestDirectoryContentsCommand
All Implemented Interfaces:
BobCoFileExplorerConstants, com.tivoli.twg.libs.CommandCompleteListener, java.lang.Runnable

public class ConsoleRequestDirectoryContentsCommand
extends com.tivoli.twg.libs.Command
implements BobCoFileExplorerConstants, com.tivoli.twg.libs.CommandCompleteListener, java.lang.Runnable

This subclass of Command contains fields used for correlation so that the command can be sent asynchronously and the results can be handled properly when they are returned. It also implements the Runnable and CommandCompleteListener interfaces so that command completion processing can be handled asynchronously and back under Swing's dispatch thread.


Fields inherited from class com.tivoli.twg.libs.Command
CMD_SENDER_FLAG, CMDRET_CREATE_CMDPKT_FAILED, CMDRET_ENCRYPT_FAIL, CMDRET_ENQUEUE_LOCAL_FAILED, CMDRET_INVALID_DEST_ADDRESS, CMDRET_NO_LOCAL_SVCNODE_IMPL, CMDRET_SECURE_FAIL, CMDRET_SEND_BUFFER_FAILED, CMDRET_SEND_FAILED, CMDRET_SEND_TIMEOUT, CMDRET_SERVICEFAILED, CMDRET_SESS_DISABLED_LCL, CMDRET_SESS_DISABLED_RMT, CMDRET_SESS_UNAVAIL_LCL, CMDRET_SESS_UNAVAIL_RMT, CMDRET_SESS_WAIT_DONE, CMDRET_SESS_WAIT_EXPIRED, CMDRET_SESS_WAITING, COMMAND_TYPE_INPUT, COMMAND_TYPE_OUTPUT, DEFAULT_CMD_TIMEOUT, ENQUEUE_FAILED_COPYDATA, ENQUEUE_FAILED_NO_DESTPATH, ENQUEUE_FAILED_NO_PROCESS_HANDLE, ENQUEUE_FAILED_NO_SVC_NODE_HANDLE, ENQUEUE_FAILED_SECURITY, ENQUEUE_GENERAL_FAILURE, JNI_BUFFER_NULL, JNI_ENTRY_POINT_NOT_LOADED, JNI_HANDLE_NULL, JNI_INITIALIZE_FAILED, RMI_LOOKUP_ERROR, SESSION_NONE, SESSION_PREFERRED, SESSION_REQUIRED
 
Fields inherited from interface com.BobCo.FileExplorer.BobCoFileExplorerConstants
ARCHIVE, clientAddressSuffix, consoleRequestDirectoryContents, consoleRequestLocalFixedDrives, DIRECTORY, getClientDirectoryContents, getClientLocalFixedDrives, HIDDEN, READONLY, RETURN_FIND_FAILED, RETURN_OKAY, RETURN_UNRECOGNIZED_ACT_ID, RETURN_UNRECOGNIZED_COMMAND_CODE, RTMcommandCode, serviceNodeName, SYSTEM
 
Method Summary
 void CommandComplete(com.tivoli.twg.libs.Command cmd)
          Command completion callback.
 void run()
          Implement run() so that we can invoke the node's update method safely under Swing's dispatch thread via SwingUtilities.invokeLater().
 
Methods inherited from class com.tivoli.twg.libs.Command
AddInputParm, AddInputParm, AddObjectAsInputParm, AddObjectAsOutputParm, AddOutputParm, AddOutputParm, addToDebugStrings, AllocateBuffer, AttachInputParm, AttachOutputParm, CmdId, CommandCode, commandCodeDebugString, CommandComplete, CompressObject, debugPrint, DecompressObject, DestinationAddress, DetachInputParm, DetachOutputParm, FreeBuffer, FreeInputsAfterSend, getCmdType, GetObjectFromInputParm, GetObjectFromOutputParm, getSenderServiceNode, hexDump, InputParm, InputParm, InputParmLength, IsFlatInputBuffer, IsFlatOutputBuffer, IsPostponedReply, MakeFlatInputBuffer, MakeFlatOutputBuffer, NumInputParms, NumOutputParms, OutputParm, OutputParm, OutputParmLength, PostponeReply, ResetIndex, ResetInput, ResetOutput, ReturnAddress, ReturnCode, ReturnCodeToString, RootDestinationAddress, RootReturnAddress, SessionHold, SessionMode, SessionRelease, SessionWaitTime, setCmdType, setCmdTypeInput, setCmdTypeOutput, SetCommandCode, setCommandCodeDebugString, setCommandCompleteListener, SetDestinationAddress, SetNewID, SetReturnAddress, SetReturnCode, setSenderServiceNode, SetSessionHold, SetSessionMode, SetSessionRelease, SetSessionWaitTime, SetTimeOut, TimeOut, toString, UseFlatInputBuffer, UseFlatOutputBuffer
 

Method Detail

CommandComplete

public void CommandComplete(com.tivoli.twg.libs.Command cmd)
Command completion callback. This listener method is called when a Command instance registered to this listener is completed.
Specified by:
CommandComplete in interface com.tivoli.twg.libs.CommandCompleteListener
Parameters:
cmd - - Command instance of command which has completed

run

public void run()
Implement run() so that we can invoke the node's update method safely under Swing's dispatch thread via SwingUtilities.invokeLater().
Specified by:
run in interface java.lang.Runnable