Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
python-cellframe
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cellframe
python-cellframe
Merge requests
!92
support-5685
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
support-5685
support-5685
into
develop
Overview
0
Commits
2
Pipelines
0
Changes
10
Merged
Roman Khlopkov
requested to merge
support-5685
into
develop
3 years ago
Overview
0
Commits
2
Pipelines
0
Changes
2
Expand
[+] Python services
👍
0
👎
0
Merge request reports
Compare
version 1
version 1
d1aade9a
3 years ago
develop (base)
and
latest version
latest version
f69ecb2c
2 commits,
3 years ago
version 1
d1aade9a
1 commit,
3 years ago
Show latest version
2 files
+
135
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
modules/cellframe-sdk/net/srv/include/wrapping_dap_chain_net_srv_client_remote.h
0 → 100644
+
85
−
0
Options
//
// Created by blus on 05.02.2022.
//
#include
"Python.h"
#include
"datetime.h"
#include
"dap_chain_net_srv.h"
#ifndef WRAPPING_DAP_CHAIN_NET_SRV_CLIENT_REMOTE_H
#define WRAPPING_DAP_CHAIN_NET_SRV_CLIENT_REMOTE_H
typedef
struct
PyDapChainNetSrvClientRemote
{
PyObject_HEAD
dap_chain_net_srv_client_remote_t
*
srv_client_remote
;
}
PyDapChainNetSrvClientRemoteObject
;
PyObject
*
wrapping_dap_chain_net_srv_client_remote_get_ch
(
PyObject
*
self
,
void
*
closure
);
PyObject
*
wrapping_dap_chain_net_srv_client_remote_get_ts_created
(
PyObject
*
self
,
void
*
closure
);
PyObject
*
wrapping_dap_chain_net_srv_client_remote_get_created
(
PyObject
*
self
,
void
*
closure
);
PyObject
*
wrapping_dap_chain_net_srv_client_remote_get_stream_worker
(
PyObject
*
self
,
void
*
closure
);
PyObject
*
wrapping_dap_chain_net_srv_client_remote_get_session_id
(
PyObject
*
self
,
void
*
closure
);
PyObject
*
wrapping_dap_chain_net_srv_client_remote_get_bytes_received
(
PyObject
*
self
,
void
*
closure
);
PyObject
*
wrapping_dap_chain_net_srv_client_remote_get_bytes_send
(
PyObject
*
self
,
void
*
closure
);
//PyObject *wrapping_dap_chain_net_srv_client_remote_get_bytes_prev(PyObject *self, void *closure);
//PyObject *wrapping_dap_chain_net_srv_client_remote_get_bytes_next(PyObject *self, void *closure);
static
PyMethodDef
DapChainNetSrvClientRemoteMethods
[]
=
{
{
NULL
,
NULL
,
0
,
NULL
}
};
static
PyGetSetDef
DapChaiNetSrvClientRemoteGetsSets
[]
=
{
{
"ch"
,
(
getter
)
wrapping_dap_chain_net_srv_client_remote_get_ch
,
NULL
,
NULL
,
NULL
},
{
"tsCreated"
,
(
getter
)
wrapping_dap_chain_net_srv_client_remote_get_ts_created
,
NULL
,
NULL
,
NULL
},
{
"created"
,
(
getter
)
wrapping_dap_chain_net_srv_client_remote_get_created
,
NULL
,
NULL
,
NULL
},
{
"streamWorker"
,
(
getter
)
wrapping_dap_chain_net_srv_client_remote_get_stream_worker
,
NULL
,
NULL
,
NULL
},
{
"sessionId"
,
(
getter
)
wrapping_dap_chain_net_srv_client_remote_get_session_id
,
NULL
,
NULL
,
NULL
},
{
"bytesReceived"
,
(
getter
)
wrapping_dap_chain_net_srv_client_remote_get_bytes_received
,
NULL
,
NULL
,
NULL
},
{
"bytesSend"
,
(
getter
)
wrapping_dap_chain_net_srv_client_remote_get_bytes_send
,
NULL
,
NULL
,
NULL
},
{
NULL
}
};
static
PyTypeObject
DapChainNetSrvClientRemoteObject_DapChainNetSrvClientRemoteObjectType
=
{
PyVarObject_HEAD_INIT
(
NULL
,
0
)
"CellFrame.ChainNetSrvClientRemote"
,
/* tp_name */
sizeof
(
PyDapChainNetSrvClientRemoteObject
),
/* tp_basicsize */
0
,
/* tp_itemsize */
0
,
/* tp_dealloc */
0
,
/* tp_print */
0
,
/* tp_getattr */
0
,
/* tp_setattr */
0
,
/* tp_reserved */
0
,
/* tp_repr */
0
,
/* tp_as_number */
0
,
/* tp_as_sequence */
0
,
/* tp_as_mapping */
0
,
/* tp_hash */
0
,
/* tp_call */
0
,
/* tp_str */
0
,
/* tp_getattro */
0
,
/* tp_setattro */
0
,
/* tp_as_buffer */
Py_TPFLAGS_DEFAULT
|
Py_TPFLAGS_BASETYPE
,
/* tp_flags */
"Chain net service client remote object"
,
/* tp_doc */
0
,
/* tp_traverse */
0
,
/* tp_clear */
0
,
/* tp_richcompare */
0
,
/* tp_weaklistoffset */
0
,
/* tp_iter */
0
,
/* tp_iternext */
DapChainNetSrvClientRemoteMethods
,
/* tp_methods */
0
,
/* tp_members */
DapChaiNetSrvClientRemoteGetsSets
,
/* tp_getset */
0
,
/* tp_base */
0
,
/* tp_dict */
0
,
/* tp_descr_get */
0
,
/* tp_descr_set */
0
,
/* tp_dictoffset */
0
,
/* tp_init */
0
,
/* tp_alloc */
PyType_GenericNew
,
/* tp_new */
};
#endif //WRAPPING_DAP_CHAIN_NET_SRV_CLIENT_REMOTE_H
Loading