public class IfsOpenSocketCommand extends IfsCommand
Inputs:
Constructor and Description |
---|
IfsOpenSocketCommand()
Defualt Constructor
|
Modifier and Type | Method and Description |
---|---|
CommandContext |
createCommandContext()
Returns a CommandState to be used throughout the invokation.
|
protected void |
execute(CommandContext state)
Execute a CommandState.
|
protected void |
execute(OpenSocketContext state)
Execute an OpenSocketCommandState.
|
populateNestedCommands, postExecute, preExecute, run
public IfsOpenSocketCommand()
protected void execute(CommandContext state) throws IfsException
execute
in class IfsCommand
state
- the command context.IfsException
- if execution failsprotected void execute(OpenSocketContext state) throws IfsException
IfsException
public CommandContext createCommandContext() throws IfsException
createCommandContext
in interface Command
createCommandContext
in class IfsCommand
CommandContext
.IfsException
CommandContext
Copyright © 2023. All rights reserved.