Peter Johnson
|
8d7cdeabbf
|
Implement remote procedure calls.
|
2015-08-13 21:32:16 -07:00 |
|
Peter Johnson
|
e9073a3cc0
|
Implement notifiers.
The notifier thread is lazily started when the first notifier is added.
This avoids the extra thread/processing overhead when notifiers are not used.
|
2015-08-02 21:47:01 -07:00 |
|
Peter Johnson
|
538a19fd47
|
Implement GetConnections().
|
2015-08-02 10:47:05 -07:00 |
|
Peter Johnson
|
0dcaf56ed1
|
Add NetworkAcceptor and NetworkStream interfaces.
These allow mocking of TCPAcceptor and TCPStream respectively.
|
2015-08-02 00:06:27 -07:00 |
|
Peter Johnson
|
11508b77d1
|
Ensure initial synchronization is atomic.
|
2015-07-31 23:56:06 -07:00 |
|
Peter Johnson
|
ead125555c
|
Implement client/server handshaking.
|
2015-07-31 20:32:52 -07:00 |
|
Peter Johnson
|
83be99e78c
|
Immediately process incoming messages.
This required moving message processing into the Storage class.
|
2015-07-29 23:45:04 -07:00 |
|
Peter Johnson
|
9a621e9272
|
Various NetworkConnection improvements.
- Keep connection state.
- Store remote id
- Getter for proto_rev
- Cleanup on Stop()
- Cleaner termination of write thread.
|
2015-07-29 20:31:59 -07:00 |
|
Peter Johnson
|
fcbd2751ba
|
Provide C++ API. Move all classes to "nt" namespace.
The C API is now just simple wrappers around the C++ API.
|
2015-07-17 07:21:07 -07:00 |
|
Peter Johnson
|
555725a05b
|
NetworkConnection: Don't explicitly declare default move constructor.
|
2015-07-15 23:29:17 -07:00 |
|
Peter Johnson
|
13cbf4e288
|
Message: use shared_ptr.
NetworkConnection: Own the input and output queues.
|
2015-07-15 21:20:18 -07:00 |
|
Peter Johnson
|
e640708245
|
Start implementing network connectivity.
Change-Id: I82875bfd1c3a086033d22de636d4fb43455ebac3
|
2015-07-13 22:46:41 -07:00 |
|