public abstract static class GatewayInterface.AbstractMessagePrinter extends java.lang.Object implements GatewayInterface.MessagePrinter
| Modifier and Type | Field and Description |
|---|---|
protected static byte[] |
arg1
<arg name="
|
protected static byte[] |
arg2
"><![CDATA[
|
protected static byte[] |
arg3
]]></arg>
|
protected static byte[] |
argindex |
protected static byte[] |
argnull |
protected static byte[] |
end
</messagebody></message>
|
protected static byte[] |
head1
<message><messagetype>
|
protected static byte[] |
head2
</messagetype><messagebody>
|
protected int |
type |
| Constructor and Description |
|---|
AbstractMessagePrinter(int type) |
| Modifier and Type | Method and Description |
|---|---|
int |
getMinConnectionMode()
Minimum connection mode needed to run, or zero to always run.
|
StatMetric |
getStatMetric()
A stat metric to update when this message finishes.
|
protected void |
writeArg(java.io.OutputStream pw,
java.lang.String argName,
java.lang.String argVal) |
protected void |
writeArg(java.io.OutputStream pw,
java.lang.String argName,
java.lang.String argVal,
int idx) |
protected void |
writeHead(java.io.OutputStream pw)
Opens message element, writes messagetype element, opens messagebody element
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprintMessageprotected static byte[] head1
protected static byte[] head2
protected static byte[] arg1
protected static byte[] arg2
protected static byte[] arg3
protected static byte[] argnull
protected static byte[] argindex
protected static byte[] end
protected int type
protected void writeHead(java.io.OutputStream pw)
throws java.io.IOException
java.io.IOExceptionprotected void writeArg(java.io.OutputStream pw,
java.lang.String argName,
java.lang.String argVal)
throws java.io.IOException
java.io.IOExceptionprotected void writeArg(java.io.OutputStream pw,
java.lang.String argName,
java.lang.String argVal,
int idx)
throws java.io.IOException
java.io.IOExceptionpublic int getMinConnectionMode()
GatewayInterface.MessagePrintergetMinConnectionMode in interface GatewayInterface.MessagePrinterpublic StatMetric getStatMetric()
GatewayInterface.MessagePrintergetStatMetric in interface GatewayInterface.MessagePrinter