public class TWSLInvocationRequestWriter extends TInvocationRequestWriter
TInvocationRequestWriter.TCommandItemPairWriter
Constructor and Description |
---|
TWSLInvocationRequestWriter()
Creates new TWSLInvocationRequestWriter
|
Modifier and Type | Method and Description |
---|---|
protected void |
close()
Closes the invocation request.
|
protected boolean |
isClosed()
Indicates if request writer is currently closed meaning that it is not possible
to write any command statements into a Tamino request.
|
void |
setConnection(WSL wsl)
Sets a new WSL connection so that a new invocation request can be written.
|
protected void |
write(java.lang.String key,
java.lang.String value)
Writes the given key/value pair into the invocation request.
|
protected void |
write(java.lang.String key,
TStreamable value)
Writes the given key/value pair into the invocation request.
|
getLocale, setLocale, write
public TWSLInvocationRequestWriter()
public void setConnection(WSL wsl) throws TInvocationRequestNotWritableException
wsl
- to be initialized for communication.TInvocationRequestNotWritableException
- if any problems during writing occur.protected void write(java.lang.String key, java.lang.String value) throws TInvocationRequestNotWritableException
write
in class TInvocationRequestWriter
key
- that identifies a Tamino specific command key (e.g. _process).value
- is referred to the key and might be the content for a Tamino
specific command.TInvocationRequestNotWritableException
- if any problems during writing occur.protected void write(java.lang.String key, TStreamable value) throws TInvocationRequestNotWritableException
write
in class TInvocationRequestWriter
key
- that identifies a Tamino specific command key (e.g. _process).value
- is referred to the key and might be the content for a Tamino
specific command. The value is here given as a TStreamable instance.TInvocationRequestNotWritableException
- if any problems during writing occur.protected void close() throws TInvocationRequestNotWritableException
close
in class TInvocationRequestWriter
TInvocationRequestNotWritableException
- if any problems during writing occur.protected boolean isClosed()
isClosed
in class TInvocationRequestWriter
Copyright (c) 2017 Software AG. All Rights Reserved.