Python Client  0.0.0.0
Python wrapper for Corelink DLL
corelink_recv_stream Namespace Reference

Classes

class  RecvStream
 

Functions

def recv_callback_json (recv_id, send_id, msg, json_len, msg_len, callback)
 
def recv_callback (recv_id, send_id, msg, json_len, msg_len, callback)
 

Variables

 RECV_CALLBACK_TYPE
 
 CALLBACK_TYPE = ctypes.CFUNCTYPE(None,(ctypes.c_int),(ctypes.c_int),ctypes.c_wchar_p)
 
 RECV_CALLBACK_JSON_TYPE
 
 CALLBACK_JSON_TYPE
 

Detailed Description

"
    @file corelink_recv_stream.py
    Handler class for the receiver streams.
    A container for the stream id and necessary data to call associated functions.

Function Documentation

◆ recv_callback()

def corelink_recv_stream.recv_callback (   recv_id,
  send_id,
  msg,
  json_len,
  msg_len,
  callback 
)
    recv call back

Definition at line 45 of file corelink_recv_stream.py.

◆ recv_callback_json()

def corelink_recv_stream.recv_callback_json (   recv_id,
  send_id,
  msg,
  json_len,
  msg_len,
  callback 
)
    Recv callback for Json

Definition at line 33 of file corelink_recv_stream.py.

Variable Documentation

◆ CALLBACK_JSON_TYPE

corelink_recv_stream.CALLBACK_JSON_TYPE
Initial value:
1 = ctypes.CFUNCTYPE(None,(ctypes.c_int),
2  (ctypes.c_int),
3  ctypes.c_wchar_p,
4  ctypes.c_wchar_p)

Definition at line 27 of file corelink_recv_stream.py.

◆ CALLBACK_TYPE

corelink_recv_stream.CALLBACK_TYPE = ctypes.CFUNCTYPE(None,(ctypes.c_int),(ctypes.c_int),ctypes.c_wchar_p)

Definition at line 19 of file corelink_recv_stream.py.

◆ RECV_CALLBACK_JSON_TYPE

corelink_recv_stream.RECV_CALLBACK_JSON_TYPE
Initial value:
1 = ctypes.CFUNCTYPE(None,(ctypes.c_int),
2  (ctypes.c_int),
3  ctypes.POINTER(ctypes.c_char),
4  (ctypes.c_int),
5  (ctypes.c_int),
6  ctypes.c_void_p)

Definition at line 21 of file corelink_recv_stream.py.

◆ RECV_CALLBACK_TYPE

corelink_recv_stream.RECV_CALLBACK_TYPE
Initial value:
1 = ctypes.CFUNCTYPE(None,(ctypes.c_int),
2  (ctypes.c_int),ctypes.
3  POINTER(ctypes.c_char),
4  (ctypes.c_int),
5  (ctypes.c_int),
6  ctypes.c_void_p)

Definition at line 13 of file corelink_recv_stream.py.