Comments (1)
Hi @AlexBHarley
at the begin we connect to the server via TCP and getting with this a constant connection to it.
In the messageloop we listen on the so called Networkstream with Read(). The Read() method is blocking till the next message for reading is send from the server to the client. After this the next Read() is called and so on till the connection get's closed by disposing the client.
If we lose the connection to the server we have to reconnect to the server. At the moment there is no way implemented for automatic reconnection.
All messages from the server are received the same way from the Networkstream and then internaly send to it's internal subscriber. That's done via dotNet events. -> https://github.com/schulz3000/deepstreamNet/blob/develop/src/DeepStreamClient/Internals/Connection.cs#L150
Hope this helps
from deepstreamnet.
Related Issues (20)
- Record SetWithAckAsync using Path hangs
- Events Publish / Subscribe on different connections do not fire HOT 1
- dynamic set of Record don't trigger change
- Publish Subscribe on same connection hangs
- Intermittent error on data provider HOT 1
- Update WebSocket dependencies
- Error on Send Event HOT 1
- Subscribe to record property change not triggered on same connection
- Property change event on record updated by data provider does not fire HOT 1
- Null object exception on listening to list changes HOT 2
- DeepStreamRecordBase Parse failed when listening to a new list HOT 2
- Set an array as a new record
- DeepStreamRecords - expose RecordUpdated, RecordPatched events HOT 4
- Update to urp protocol
- Possible bug in DeepStreamRecords HOT 1
- Set serialization options HOT 1
- Subscribing to record updates/changes HOT 5
- Problem running .net core 2.1 on linux HOT 3
- SocketException: The requested address is not valid in its context. HOT 1
- Error on websocket: Invalid WebSocket frame: invalid status code 1005 HOT 3
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 deepstreamnet.