public class ExecuteMessage extends AbstractQueryProtocolMessage
Executes a portal.
Inheritance
java.lang.Object > WireMessage > ControlMessage > AbstractQueryProtocolMessage > ExecuteMessageStatic Fields
IDENTIFIER
protected static final char IDENTIFIER
Field Value | |
---|---|
Type | Description |
char |
Constructors
ExecuteMessage(ConnectionHandler connection)
public ExecuteMessage(ConnectionHandler connection)
Parameter | |
---|---|
Name | Description |
connection | ConnectionHandler |
ExecuteMessage(ConnectionHandler connection, ControlMessage.ManuallyCreatedToken manuallyCreatedToken)
public ExecuteMessage(ConnectionHandler connection, ControlMessage.ManuallyCreatedToken manuallyCreatedToken)
Constructor for execute messages that are generated by the simple query protocol.
Parameters | |
---|---|
Name | Description |
connection | ConnectionHandler |
manuallyCreatedToken | ControlMessage.ManuallyCreatedToken |
Methods
flush()
public void flush()
Exceptions | |
---|---|
Type | Description |
Exception |
getHeaderLength()
protected int getHeaderLength()
How many bytes is taken by the payload header. Header is defined here as protocol definition + length. Most common value here is four bytes, so we keep that as default. Effectively, this is how much of the message you "don't" want to read from the message's total length with readAll.
Returns | |
---|---|
Type | Description |
int |
getIdentifier()
protected String getIdentifier()
Used for logging.
Returns | |
---|---|
Type | Description |
String |
getMaxRows()
public int getMaxRows()
Returns | |
---|---|
Type | Description |
int |
getMessageName()
protected String getMessageName()
Used for logging.
Returns | |
---|---|
Type | Description |
String |
getName()
public String getName()
Returns | |
---|---|
Type | Description |
String |
getPayloadString()
protected String getPayloadString()
Used for logging.
Returns | |
---|---|
Type | Description |
String |
getSql()
public String getSql()
Returns | |
---|---|
Type | Description |
String |