Interface GatewayInterface.MessagePrinter
- 
- All Known Implementing Classes:
- GatewayInterface.AbstractMessagePrinter,- GatewayInterface.BasicMessage,- GatewayInterface.InvokeMessage,- MessageBuilder,- RunPrepStmtMessage,- RunUpdateQueryMessage
 - Enclosing class:
- GatewayInterface
 
 public static interface GatewayInterface.MessagePrinterA MessagePrinter simply prints its message to an outputstream. This is used as an alternative to a String based message in cases where we don't want to incur the overhead of creating String objects, opting instead to stream the message in pieces. It can also specify a min connection mode needed to run.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetMinConnectionMode()Minimum connection mode needed to run, or zero to always run.StatMetricgetStatMetric()A stat metric to update when this message finishes.voidprintMessage(java.io.OutputStream pw)
 
- 
- 
- 
Method Detail- 
printMessagevoid printMessage(java.io.OutputStream pw) throws java.io.IOException- Throws:
- java.io.IOException
 
 - 
getMinConnectionModeint getMinConnectionMode() Minimum connection mode needed to run, or zero to always run.
 - 
getStatMetricStatMetric getStatMetric() A stat metric to update when this message finishes. Optional, may be null.
 
- 
 
-