|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BookieProtocol
The packets of the Bookie protocol all have a 4-byte integer indicating the type of request or response at the very beginning of the packet followed by a payload.
Field Summary | |
---|---|
static int |
ADDENTRY
The Add entry request payload will be a ledger entry exactly as it should be logged. |
static int |
EBADREQ
The error code that indicates an invalid request type |
static int |
EIO
General error occurred at the server |
static int |
ENOENTRY
The error code that indicates that the requested entry does not exist |
static int |
ENOLEDGER
The error code that indicates that the ledger does not exist |
static int |
EOK
The error code that indicates success |
static int |
EUA
Unauthorized access to ledger |
static int |
READENTRY
The Read entry request payload will be the ledger number and entry number to read. |
Field Detail |
---|
static final int ADDENTRY
static final int READENTRY
static final int EOK
static final int ENOLEDGER
static final int ENOENTRY
static final int EBADREQ
static final int EIO
static final int EUA
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |