|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.tamino.db.api.invocation.TInvocationRequestWriter
public abstract class TInvocationRequestWriter
TInvocationRequestWriter defines the operations needed to write a Tamino specific command
request (e.g. _process=
Nested Class Summary | |
---|---|
protected class |
TInvocationRequestWriter.TCommandItemPairWriter
TCommandItemPairWriter |
Constructor Summary | |
---|---|
protected |
TInvocationRequestWriter()
Initializes the request writer. |
Method Summary | |
---|---|
protected abstract void |
close()
Closes the invocation request. |
java.util.Locale |
getLocale()
Gets the locale. |
protected abstract 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 |
setLocale(java.util.Locale locale)
Sets the locale. |
protected abstract void |
write(java.lang.String key,
java.lang.String value)
Writes the given key/value pair into the invocation request. |
protected abstract void |
write(java.lang.String key,
TStreamable value)
Writes the given key/value pair into the invocation request. |
void |
write(TCommandStatement commandStatement)
Writes the entire command statement into the invocation request and flushes the underlying output stream afterwards. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected TInvocationRequestWriter()
Method Detail |
---|
public void write(TCommandStatement commandStatement) throws TInvocationRequestNotWritableException
TInvocationRequestNotWritableException
protected abstract void write(java.lang.String key, java.lang.String value) throws TInvocationRequestNotWritableException
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.
TRequestNotWritableException
- if any problems during writing occur.
TInvocationRequestNotWritableException
protected abstract void write(java.lang.String key, TStreamable value) throws TInvocationRequestNotWritableException
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.
TRequestNotWritableException
- if any problems during writing occur.
TInvocationRequestNotWritableException
protected abstract void close() throws TInvocationRequestNotWritableException
TInvocationRequestNotWritableException
protected abstract boolean isClosed()
public void setLocale(java.util.Locale locale)
public java.util.Locale getLocale()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |