Skip to content

add high-level binding Layer #8

Open
@Ccccraz

Description

@Ccccraz

We need some advanced features that are not directly provided by JeroMQ, such as recvMultiparts(), pollin(), etc. However, the current implementation mixes high-level binding and the wrapper layer. For example, for methods like pollin() in +jzmq/+ZMQ/Poller.m, in fact, JeroMQ provides functions with the same name but different functions, such as: JeroMQ ZMQ.Poller.pollin()

I think we should keep the purity of the wrapper layer and maintain consistency with JeroMQ. Therefore, I think it is necessary to create a high-level binding layer.

At present, our project structure is:

.
├── +jzmq
│   ├── +ZMQ
│   │   ├── Poller.m
│   │   ├── PollerEvent.m
│   │   └── Socket.m
│   ├── jeromq-0.6.0.jar
│   ├── PollEvent.m
│   ├── SocketType.m
│   ├── ZContext.m
│   └── ZPoller.m
├── LICENSE
└── README.md

I think we can try to modify it to:

.
├── +jzmq
│   ├── +matlabZMQ
│   │   └── MSocket.m
│   ├── +ZMQ
│   │   ├── Poller.m
│   │   ├── PollerEvent.m
│   │   └── Socket.m
│   ├── jeromq-0.6.0.jar
│   ├── PollEvent.m
│   ├── SocketType.m
│   ├── ZContext.m
│   └── ZPoller.m
├── LICENSE
└── README.md

or

.
├── +matlabZMQ
│   └── MSocket.m
├── +jzmq
│   ├── +ZMQ
│   │   ├── Poller.m
│   │   ├── PollerEvent.m
│   │   └── Socket.m
│   ├── jeromq-0.6.0.jar
│   ├── PollEvent.m
│   ├── SocketType.m
│   ├── ZContext.m
│   └── ZPoller.m
├── LICENSE
└── README.md

Add something similar to +matlabZMQ (I think the name needs to be considered, perhaps +matlab-jzmq is better) for high-level binding

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions