SAP Enqueue

The following subsections show a graphical representation of the main protocol packets and how to generate them.

First we need to perform some setup to import the packet classes:

In [1]:
from pysap.SAPEnqueue import *
from IPython.display import display

SAP Enqueue packet

In [2]:
for dest in enqueue_dest_values:
    p = SAPEnqueue(dest=dest)
    print(enqueue_dest_values[dest])
    display(p.canvas_dump())
SYNC_ENQUEUE
../_images/protocols_SAPEnqueue_4_1.png
ASYNC_ENQUEUE
../_images/protocols_SAPEnqueue_4_3.png
SERVER_ADMIN
../_images/protocols_SAPEnqueue_4_5.png
STAT_QUERY
../_images/protocols_SAPEnqueue_4_7.png
CONECTION_ADMIN
../_images/protocols_SAPEnqueue_4_9.png
ENQ_TO_REP
../_images/protocols_SAPEnqueue_4_11.png
REP_TO_ENQ
../_images/protocols_SAPEnqueue_4_13.png

SAP Enqueue Server Admin opcodes

In [3]:
for opcode in enqueue_server_admin_opcode_values:
    p = SAPEnqueue(dest=3, opcode=opcode)
    print(enqueue_server_admin_opcode_values[opcode])
    display(p.canvas_dump())
EnAdmDummyRequest
../_images/protocols_SAPEnqueue_6_1.png
EnAdmShutdownRequest
../_images/protocols_SAPEnqueue_6_3.png
EnAdmGetReplInfoRequest
../_images/protocols_SAPEnqueue_6_5.png
EnAdmTraceRequest
../_images/protocols_SAPEnqueue_6_7.png

SAP Enqueue Connection Admin opcodes

In [4]:
for opcode in enqueue_conn_admin_opcode_values:
    p = SAPEnqueue(dest=6, opcode=opcode)
    print(enqueue_conn_admin_opcode_values[opcode])
    display(p.canvas_dump())
Loopback packet
../_images/protocols_SAPEnqueue_8_1.png
Parameter Request
../_images/protocols_SAPEnqueue_8_3.png
Parameter Response
../_images/protocols_SAPEnqueue_8_5.png
Shutdown Read
../_images/protocols_SAPEnqueue_8_7.png
Shutdown Write
../_images/protocols_SAPEnqueue_8_9.png
Shutdown Both
../_images/protocols_SAPEnqueue_8_11.png
Keepalive
../_images/protocols_SAPEnqueue_8_13.png

SAP Enqueue Connection Admin parameters

In [5]:
for param in enqueue_param_values:
    p = SAPEnqueueParam(param=param)
    print(enqueue_param_values[param])
    display(p.canvas_dump())
ENCPARAM_RECV_LEN
../_images/protocols_SAPEnqueue_10_1.png
ENCPARAM_SEND_LEN
../_images/protocols_SAPEnqueue_10_3.png
ENCPARAM_MSG_TYPE
../_images/protocols_SAPEnqueue_10_5.png
ENCPARAM_SET_NAME
../_images/protocols_SAPEnqueue_10_7.png
ENCPARAM_SET_NOSUPP
../_images/protocols_SAPEnqueue_10_9.png
ENCPARAM_SET_VERSION
../_images/protocols_SAPEnqueue_10_11.png
ENCPARAM_SET_UCSUPPORT
../_images/protocols_SAPEnqueue_10_13.png