| Constructor and Description |
|---|
ContextImpl(IOAdapter outputAdapter,
CommandBuffer commandBuffer) |
| Modifier and Type | Method and Description |
|---|---|
void |
disconnect() |
void |
error(String s) |
void |
error(Throwable t) |
void |
execute() |
void |
execute(CommandBuffer commandBuffer) |
CommandBuffer |
getCommandBuffer() |
CommandRegistry |
getCommandRegistry() |
Connection |
getConnection() |
IOAdapter |
getOutputAdapter() |
String |
getProperty(String key) |
boolean |
isConnected() |
boolean |
isQuitting() |
void |
println(String s) |
void |
refreshProperties() |
void |
result(List<ProcessedCommand> commands,
String result,
boolean isError) |
void |
setConnection(Connection connection) |
void |
setOutputAdapter(IOAdapter outputAdapter) |
void |
setProperty(String key,
String value) |
void |
setQuitting(boolean quitting) |
public ContextImpl(IOAdapter outputAdapter, CommandBuffer commandBuffer)
public void setOutputAdapter(IOAdapter outputAdapter)
setOutputAdapter in interface Contextpublic boolean isConnected()
isConnected in interface Contextpublic boolean isQuitting()
isQuitting in interface Contextpublic void setQuitting(boolean quitting)
setQuitting in interface Contextpublic void setProperty(String key, String value)
setProperty in interface Contextpublic String getProperty(String key)
getProperty in interface Contextpublic void result(List<ProcessedCommand> commands, String result, boolean isError)
public CommandBuffer getCommandBuffer()
getCommandBuffer in interface Contextpublic void disconnect()
disconnect in interface Contextpublic void setConnection(Connection connection)
setConnection in interface Contextpublic void execute(CommandBuffer commandBuffer)
public Connection getConnection()
getConnection in interface Contextpublic CommandRegistry getCommandRegistry()
getCommandRegistry in interface Contextpublic IOAdapter getOutputAdapter()
getOutputAdapter in interface Contextpublic void refreshProperties()
refreshProperties in interface ContextCopyright © 2024 JBoss, a division of Red Hat. All rights reserved.