GDSDB Protocol Messages

Index

op_accept
op_allocate_statement
op_attach
op_authenticate_user
op_aux_connect
op_batch_segments
op_cancel
op_cancel_blob
op_cancel_events
op_close_blob
op_commit
op_commit_retaining
op_compile
op_connect
op_connect_request
op_create
op_create_blob
op_create_blob2
op_ddl
op_detach
op_disconnect
op_drop_database
op_dummy
op_event
op_exec_immediate
op_exec_immediate2
op_execute
op_execute2
op_fetch
op_fetch_response
op_free_statement
op_get_segment
op_get_slice
op_info_blob
op_info_database
op_info_request
op_info_sql
op_info_transaction
op_insert
op_open_blob
op_open_blob2
op_prepare
op_prepare_statement
op_prepare2
op_put_segment
op_put_slice
op_que_events
op_receive
op_reconnect
op_reject
op_release
op_response
op_response_piggyback
op_rollback
op_rollback_retaining
op_seek_blob
op_send
op_service_attach
op_service_detach
op_service_info
op_service_start
op_set_cursor
op_slice
op_sql_response
op_start
op_start_and_receive
op_start_and_send
op_start_send_and_receive
op_transact
op_transact_response
op_transaction
op_trusted_auth
op_unwind
op_update_account_info

Messages

op_accept

Field XDRType Size
OpCode = 3 xdr_short 4
ProtocolVersionNumber xdr_short 4
ProtocolArchitecture xdr_enum 4
ProtocolMinimumType xdr_u_short 4

op_allocate_statement

allocate a statment handle

Field XDRType Size
OpCode = 62 xdr_short 4
DatabaseHandle xdr_short 4

op_attach

Attach database

Field XDRType Size
OpCode = 19 xdr_short 4
DatabaseObjectID xdr_short 4
DatabasePath xdr_cstring_const {string}
DatabaseParameterBuffers xdr_cstring_const {string}

op_authenticate_user

Field XDRType Size
OpCode = 88 xdr_short 4
AuthDatabase xdr_short 4
AuthDPB xdr_cstring_const {string}
AuthItems xdr_cstring {string]
AuthBufferLength xdr_short 4

op_aux_connect

Field XDRType Size
OpCode = 54 xdr_short 4
RequestType xdr_short 4
ResquestObject xdr_short 4
RequestPartner xdr_long 4

op_batch_segments

Field XDRType Size
OpCode = 44 xdr_short 4
SegmentBlob xdr_short 4
SegmentLength xdr_short 4
Segment xdr_cstring_const {string}

op_cancel

Field XDRType Size
OpCode = 91 xdr_short 4
Kind xdr_short 4

op_cancel_blob

Field XDRType Size
OpCode = 38 xdr_short 4
ReleaseObject xdr_short 4

op_cancel_events

Field XDRType Size
OpCode = 49 xdr_short 4
DatabaseHandle xdr_short 4
LocalEventID xdr_long 4

op_close_blob

Field XDRType Size
OpCode = 39 xdr_short 4
ReleaseObject xdr_short 4

op_commit

Commit Transaction

Field XDRType Size
OpCode = 30 xdr_short 4
TransactionHandle xdr_short 4

op_commit_retaining

Field XDRType Size
OpCode = 50 xdr_short 4
TransactionHandle xdr_short 4

op_compile

Field XDRType Size
OpCode = 22 xdr_short 4
  xdr_short 4
  xdr_cstring_const {string}

op_connect

Connects to a database. The last 5 fields occur 0..n times

Field XDRType Size
OpCode = 1 xdr_short 4
Operation xdr_enum 4
Version xdr_short 4
Architecture xdr_enum 4
DatabasePath xdr_cstring_const {string}
ProtocolCount xdr_short 4
user xdr_cstring_const {string}
ProtocolVersion xdr_short 4
ProtocolArchitecture xdr_enum 4
ProtocolMinimumType xdr_u_short 4
ProtocolMaximumType xdr_u_short 4
ProtocolPreferenceWeight xdr_short 4

op_connect_request

Field XDRType Size
OpCode = 53 xdr_short 4
ConnectionType xdr_short 4
ObjectHandle xdr_short 4
PartnerId xdr_long 4

op_create

Create database

Field XDRType Size
OpCode = 20 xdr_short 4
DatabaseObjectID xdr_short 4
DatabasePath xdr_cstring_const {string}
DatabaseParameterBuffers xdr_cstring_const {string}

op_create_blob

Field XDRType Size
OpCode = 34 xdr_short 4
TransactionHandle xdr_short 4
BlobID xdr_quad 8

op_create_blob2

Field XDRType Size
OpCode = 57 xdr_short 4
ParameterBuffer xdr_cstring_const {string}
TransactionHandle xdr_short 4
BlobID xdr_quad 8

op_ddl

Field XDRType Size
OpCode = 55 xdr_short 4
DDL_Database xdr_short 4
DDL_Transaction xdr_short 4
DDL_BLR xdr_cstring_const {string}

op_detach

Detach database

Field XDRType Size
OpCode = 21 xdr_short 4
DatabaseHandle xdr_short 4

op_disconnect

Disconnection message

Field XDRType Size
OpCode = 6 xdr_short 4

op_drop_database

Field XDRType Size
OpCode = 81 xdr_short 4
DatabaseHandle xdr_short 4

op_dummy

dummy packet to detect loss of client

Field XDRType Size
OpCode = 71 xdr_short 4

op_event

Completed event request (asynchronous

Field XDRType Size
OpCode = 52 xdr_short 4
EventDatabase xdr_short 4
EventItems xdr_cstring_const {string}
EventAST xdr_long 4
EventArgs xdr_long 4
EventRID xdr_long 4

op_exec_immediate

execute a statement

Field XDRType Size
OpCode = 64 xdr_short 4
TransactionHandle xdr_short 4
StatementHandle xdr_short 4
Dialect xdr_short 4
SQLStatement xdr_cstring_const {string}
Parameters xdr_cstring_const {string}
BufferLength xdr_short 4

op_exec_immediate2

execute an immediate statement with msgs

Field XDRType Size
OpCode = 75 xdr_short 4
SQLBLR xdr_sql_blr {string}
MessageNumber xdr_short 4
Messages xdr_sql_message UNKNOWN
  xdr_sql_blr {string}
  xdr_short 4
TransactionHandle xdr_short 4
StatementHandle xdr_short 4
Dialect xdr_short 4
SQLStatement xdr_cstring_const {string}
Parameters xdr_cstring_const {string}
BufferLength xdr_short 4

op_execute

execute a prepared statement (DDL and DML

Field XDRType Size
OpCode = 63 xdr_short 4
StatementHandle xdr_short 4
TransactionHandle xdr_short 4
Parameters xdr_sql_blr {string}
MessageNumber xdr_short 4
Messages xdr_sql_message UNKNOWN

op_execute2

execute a stored procedure

Field XDRType Size
OpCode = 76 xdr_short 4
StatementHandle xdr_short 4
TransactionHandle xdr_short 4
Parameters xdr_sql_blr {string}
MessageNumber xdr_short 4
Messages xdr_sql_message UNKNOWN
Buffer xdr_sql_blr {string}
OutputMessageNumber xdr_short 4

op_fetch

fetch a record

Field XDRType Size
OpCode = 65 xdr_short 4
StatementHandle xdr_short 4
OutputParameters xdr_sql_blr {string}
MessageNumber xdr_short 4
MessageCount xdr_short 4

op_fetch_response

response for record fetch

Field XDRType Size
OpCode = 66 xdr_short 4
Status xdr_long 4
Messages xdr_sql_message UNKNOWN

op_free_statement

free a statement

Field XDRType Size
OpCode = 67 xdr_short 4
StatementHandle xdr_short 4
Option xdr_short 4

op_get_segment

Field XDRType Size
OpCode = 36 xdr_short 4
BlobHandle xdr_short 4
SegmentLength xdr_short 4
DataSegment xdr_cstring_const {string}

op_get_slice

Field XDRType Size
OpCode = 58 xdr_short 4
TransactionHandle xdr_short 4
ArrayHandle xdr_quad 8
SliceLength xdr_long 4
SlieceDescriptor xdr_cstring {string]
Parameters xdr_longs UNKNOWN
Slice xdr_string UNKNOWN

op_info_blob

Field XDRType Size
OpCode = 43 xdr_short 4
DatabaseHandle xdr_short 4
IncarnationOfObject xdr_short 4
RequestBuffer xdr_cstring_const {string}
ReplyBufferLength xdr_short 4

op_info_database

Field XDRType Size
OpCode = 40 xdr_short 4
DatabaseHandle xdr_short 4
IncarnationOfObject xdr_short 4
RequestBuffer xdr_cstring_const {string}
ReplyBufferLength xdr_short 4

op_info_request

Field XDRType Size
OpCode = 41 xdr_short 4
DatabaseHandle xdr_short 4
IncarnationOfObject xdr_short 4
RequestBuffer xdr_cstring_const {string}
ReplyBufferLength xdr_short 4

op_info_sql

Field XDRType Size
OpCode = 70 xdr_short 4
DatabaseHandle xdr_short 4
IncarnationOfObject xdr_short 4
RequestBuffer xdr_cstring_const {string}
ReplyBufferLength xdr_short 4

op_info_transaction

Field XDRType Size
OpCode = 42 xdr_short 4
DatabaseHandle xdr_short 4
IncarnationOfObject xdr_short 4
RequestBuffer xdr_cstring_const {string}
ReplyBufferLength xdr_short 4

op_insert

Field XDRType Size
OpCode = 77 xdr_short 4
StatementHandle xdr_short 4
Statement xdr_sql_blr {string}
MessageNumber xdr_short 4
Messages xdr_sql_message UNKNOWN

op_open_blob

Field XDRType Size
OpCode = 35 xdr_short 4
Transaction xdr_short 4
BlobID xdr_quad 8

op_open_blob2

Field XDRType Size
OpCode = 56 xdr_short 4
ParameterBuffer xdr_cstring_const {string}
TransactionHandle xdr_short 4
BlobID xdr_quad 8

op_prepare

Prepare something. This is not PrepareStatement.

Field XDRType Size
OpCode = 32 xdr_short 4
TransactionHandle xdr_short 4

op_prepare_statement

prepare a statement

Field XDRType Size
OpCode = 68 xdr_short 4
TransactionHandle xdr_short 4
StatementHandle xdr_short 4
SQLDialect xdr_short 4
SQLStatement xdr_cstring_const {string}
InfoItems xdr_cstring_const {string}
TargetBufferLength xdr_short 4

op_prepare2

message form of prepare. This is not PrepareStatement.

Field XDRType Size
OpCode = 51 xdr_short 4
TransactionHandle xdr_short 4
Messages xdr_cstring_const {string}

op_put_segment

Field XDRType Size
OpCode = 37 xdr_short 4
BlobHandle xdr_short 4
BlobSegmentCount xdr_short 4
DataSegment xdr_cstring_const {string}

op_put_slice

Field XDRType Size
OpCode = 59 xdr_short 4
TransactionHandle xdr_short 4
ArrayHandle xdr_quad 8
SliceLength xdr_long 4
SliceDescriptor xdr_cstring {string]
SliceParameters xdr_longs UNKNOWN
SliceData xdr_slice UNKNOWN

op_que_events

Field XDRType Size
OpCode = 48 xdr_short 4
DatabaseHandle xdr_short 4
EventsParameterBuffer xdr_cstring_const {string}
AST xdr_long 4
EventArgs xdr_long 4
EventRID xdr_long 4

op_receive

Field XDRType Size
OpCode = 26 xdr_short 4
DataRequest xdr_short 4
DataIncarnation xdr_short 4
TransactionHandle xdr_short 4
MessageNumber xdr_short 4
MessageCount xdr_short 4
DataDirection Protocol8+only UNKNOWN
DataOffset PRotocol8+only UNKNOWN

op_reconnect

Field XDRType Size
OpCode = 33 xdr_short 4
  xdr_short 4
  xdr_cstring_const {string}

op_reject

Rejection message

Field XDRType Size
OpCode = 4 xdr_short 4

op_release

Field XDRType Size
OpCode = 28 xdr_short 4
ReleaseObject xdr_short 4

op_response

Generic Response

Field XDRType Size
OpCode = 9 xdr_short 4
ObjectHandle xdr_short 4
ObjectID xdr_quad 8
ResponseBuffer xdr_cstring {string]
StatusVector xdr_status_vector {long_vector}

op_response_piggyback

response block for piggybacked messages

Field XDRType Size
OpCode = 72 xdr_short 4
ObjectHandle xdr_short 4
ObjectID xdr_quad 8
Buffer xdr_cstring {string]
StatusVector xdr_status_vector {long_vector}

op_rollback

Field XDRType Size
OpCode = 31 xdr_short 4
TransactionHandle xdr_short 4

op_rollback_retaining

Field XDRType Size
OpCode = 86 xdr_short 4
TransactionHandle xdr_short 4

op_seek_blob

Field XDRType Size
OpCode = 61 xdr_short 4
BlobHandle xdr_short 4
SeekMode xdr_short 4
Offset xdr_long 4

op_send

Field XDRType Size
OpCode = 25 xdr_short 4
DataRequest xdr_short 4
DataIncarnation xdr_short 4
TransactionHandle xdr_short 4
MessageNumber xdr_short 4
MessageCount xdr_short 4

op_service_attach

Field XDRType Size
OpCode = 82 xdr_short 4
Database xdr_short 4
File xdr_cstring_const {string}
DPB xdr_cstring_const {string}

op_service_detach

Field XDRType Size
OpCode = 83 xdr_short 4
ReleaseObject xdr_short 4

op_service_info

Field XDRType Size
OpCode = 84 xdr_short 4
ServicesManagerAttachmentHandle xdr_short 4
IncarnationOfObject xdr_short 4
RequestBuffer xdr_cstring_const {string}
  xdr_cstring_const {string}
ReplyBufferLength xdr_short 4

op_service_start

Field XDRType Size
OpCode = 85 xdr_short 4
ServicesManagerAttachmentHandle xdr_short 4
IncarnationOfObject xdr_short 4
ServicesParameterBuffer xdr_cstring_const {string}

op_set_cursor

set a cursor name

Field XDRType Size
OpCode = 69 xdr_short 4
StatementHandle xdr_short 4
CursorName xdr_cstring_const {string}
CursorType xdr_short 4

op_slice

Field XDRType Size
OpCode = 60 xdr_short 4
SliceLength xdr_long 4
SliceSDL xdr_slice UNKNOWN

op_sql_response

Response from execute, exec immed, insert

Field XDRType Size
OpCode = 78 xdr_short 4
Messages xdr_sql_message UNKNOWN

op_start

Field XDRType Size
OpCode = 23 xdr_short 4
DataRequest xdr_short 4
DataIncarnation xdr_short 4
TransactionHandle xdr_short 4
MessageNumber xdr_short 4
MessageCount xdr_short 4
  xdr_short 4
  xdr_long 4

op_start_and_receive

Field XDRType Size
OpCode = 73 xdr_short 4
DataRequest xdr_short 4
DataIncarnation xdr_short 4
TransactionHandle xdr_short 4
MessageNumber xdr_short 4
MessageCount xdr_short 4
  xdr_short 4
  xdr_long 4

op_start_and_send

Field XDRType Size
OpCode = 24 xdr_short 4
DataRequest xdr_short 4
DataIncarnation xdr_short 4
TransactionHandle xdr_short 4
MessageNumber xdr_short 4
MessageCount xdr_short 4

op_start_send_and_receive

Field XDRType Size
OpCode = 74 xdr_short 4
DataRequest xdr_short 4
DataIncarnation xdr_short 4
TransactionHandle xdr_short 4
MessageNumber xdr_short 4
MessageCount xdr_short 4

op_transact

Field XDRType Size
OpCode = 79 xdr_short 4
Database xdr_short 4
Transaction xdr_short 4
BLR1 xdr_trrq_blr UNKNOWN
BLF2 xdr_cstring {string]
Messages xdr_short 4

op_transact_response

Field XDRType Size
OpCode = 80 xdr_short 4
MessageCount xdr_short 4
TRRQMessages xdr_trrq_message UNKNOWN

op_transaction

start transaction

Field XDRType Size
OpCode = 29 xdr_short 4
DatabaseHandle xdr_short 4
TransactionParameterBuffer xdr_cstring_const {string}

op_trusted_auth

Field XDRType Size
OpCode = 90 xdr_short 4
Data xdr_cstring {string]

op_unwind

Field XDRType Size
OpCode = 27 xdr_short 4
ReleaseObject xdr_short 4

op_update_account_info

Field XDRType Size
OpCode = 87 xdr_short 4
AccountDatabase xdr_short 4
AccoutnAPB xdr_cstring_const {string}