Comments (9)
This library just does message manipulation which can be anything from validation, conversion, safe logging, and metadata reading, etc.
As for the communication between your client and server, that is up to you. There is an example in the repo here. You can check that out.
The communication between interfaces which in most cases is TCP/IP via Socket, the data is exchanged in async mode, Therefore you cant keep the connection alive because the socket does that. As long as the socket is alive, the connection is alive. To persist a session like comms within that connection, you can mark your messages with a static header or use any special field in ISO 8583 specification to store data that represents a session that needs keep alive.
I hope this answers your question because apart from this, there is not much I can say as the conn between your client and your server is out of scope for this library. It just does message parsing/conversion between them.
from iso_8583.
Thanks am looking for concurrent request and response from server and client for iso message processing using node js that is the major purpose of iso message parsing only message conversion will not help.
from iso_8583.
What you are looking for is not easy to include in a library. Concurrency should be something to implement on your application level. Nodejs does not guarantee concurrency without clustering or task spawning.
So unless you are suggesting we implement concurrent tasks in the library itself and I don't think its a good idea.
Would provisioning async/promise-based API provide you with 'concurrency'?
from iso_8583.
i am looking to achieve this in node js itself without going for any specific language in application level. The scenario was this tcp client should wait for the response from server once the client write some iso message to the server and server keep on sending echo message iso sign on response to the client and the client writes back to server and server responds with echo message full duplex transmission with single socket channel this could be achieved in node js ?
from iso_8583.
Please check the example. There is an implementation using event emitter module and echo messages between server and client exchanging 800 network message type per few seconds.
As for full duplex comm, sockets are full duplex by default (how i see them). I am sure if you check that example you will find what you are looking for.
from iso_8583.
Thanks let me check .Does it keep on echo messages between client and server.Suppose a signon request coming from server and signon request acknowledgement sent by the client and then a signon response comes from the server and the client acknowdges the signon response and send again back to the server.
from iso_8583.
All this can be done once you have an authentication mechanism between the client and the server. Again out of scope for this library except exchanging the auth data. You can tweak the example to have echo messages exchange auth data. It's easy to manage sessions in memory because a socket exists with your app in memory.
from iso_8583.
Closing this issue because of no activity.
from iso_8583.
If there is something you still need, you can reopen or create a new one 😄
from iso_8583.
Related Issues (20)
- Secondary Bitmap - exclusion HOT 8
- Nested TLV ISO fields HOT 3
- Feature Request HOT 3
- TypeError: Cannot read properties of undefined (reading 'match') HOT 7
- Custom Format Support - variable binary field within first 127 fields HOT 3
- 4 UTF-8 string as indicator message length HOT 1
- Typescript HOT 1
- Don't parse field 127.X, only 127 as a string HOT 1
- How to work with binary fields such as 64 and 128 HOT 1
- Generate ZPK HOT 1
- Bitmap 32 HOT 17
- An in-range update of date-fns is breaking the build 🚨 HOT 2
- An in-range update of eslint is breaking the build 🚨 HOT 1
- while starting server in the example HOT 2
- Response to received data from socket HOT 5
- hello is it possible to use it in reactjs ? i m new to javascript thanks for your time HOT 5
- Use Fixe Header HOT 24
- Bitmap Length HOT 4
- Field 127.25 - Integrated circuit card (ICC) Data - XML support HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iso_8583.