public class PwdCommandHandler extends AbstractStubCommandHandler implements CommandHandler
directory
property.
Each invocation record stored by this CommandHandler contains no data elements.
replyCode, replyMessageKey, replyText
LOG
Constructor and Description |
---|
PwdCommandHandler()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
handleCommand(Command command,
Session session,
InvocationRecord invocationRecord)
Handle the specified command for the session.
|
void |
setDirectory(String directory)
Set the directory String to be returned by this command
|
sendReply, sendReply, setReplyCode, setReplyMessageKey, setReplyText
clearInvocations, getInvocation, handleCommand, numberOfInvocations, sendReply
assertValidReplyCode, getReplyTextBundle, quotes, setReplyTextBundle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleCommand
public PwdCommandHandler()
public void handleCommand(Command command, Session session, InvocationRecord invocationRecord)
AbstractTrackingCommandHandler
handleCommand
in class AbstractTrackingCommandHandler
command
- - the Command to be handledsession
- - the session on which the Command was submittedinvocationRecord
- - the InvocationRecord; CommandHandlers are expected to add
handler-specific data to the InvocationRecord, as appropriatepublic void setDirectory(String directory)
directory
- - the directoryCopyright © 2016. All rights reserved.