public class PgsqlCancelRequestMessage extends Object implements PgsqlSessionInitializationRequestMessage
| Modifier and Type | Field and Description |
|---|---|
static int |
CODE |
static int |
HEADER_SIZE |
static int |
LENGTH |
static byte |
TYPE |
| Constructor and Description |
|---|
PgsqlCancelRequestMessage(int code,
int processId,
int secretKey) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
int |
getHeaderSize() |
int |
getProcessId() |
int |
getSecretKey() |
byte |
getType() |
void |
setCode(int code) |
void |
setProcessId(int processId) |
void |
setSecretKey(int secretKey) |
String |
toString() |
public static final byte TYPE
public static final int HEADER_SIZE
public static final int LENGTH
public static final int CODE
public PgsqlCancelRequestMessage(int code,
int processId,
int secretKey)
public int getCode()
public void setCode(int code)
public int getProcessId()
public void setProcessId(int processId)
public int getSecretKey()
public void setSecretKey(int secretKey)
public byte getType()
getType in interface PgsqlMessagepublic int getHeaderSize()
getHeaderSize in interface PgsqlMessageCopyright © 2017 The CLARUS Consortium. All rights reserved.