29 Commits

Author SHA1 Message Date
Perttu Ahola
3498a07473 module/server/init.cpp -> module/server/<module>.cpp 2014-09-18 19:43:14 +03:00
Perttu Ahola
479968f229 builtin/network: Remove client socket event subscriptions in destructor 2014-09-18 17:38:46 +03:00
Perttu Ahola
13544b5060 builtin/network: Remove listening socket event in destructor 2014-09-18 17:27:09 +03:00
Perttu Ahola
3464950156 builtin/network: Fix packet definition sending 2014-09-18 14:22:51 +03:00
Perttu Ahola
c7a1b82628 Remove mutexes from modules and handle locking automatically by callback-based access control 2014-09-18 13:09:30 +03:00
Perttu Ahola
8e7099ea89 server: Callback-based access control to modules 2014-09-18 02:09:53 +03:00
Perttu Ahola
d8a63c303d builtin, testmodules: Constructor and destructor first; then other methods 2014-09-18 01:46:16 +03:00
Perttu Ahola
55541903ab server: Packet buffering and handling 2014-09-18 01:36:02 +03:00
Perttu Ahola
8f5f709f60 builtin/network: Send packet names as needed 2014-09-18 01:11:59 +03:00
Perttu Ahola
1b1b016cf5 Client receives stuff 2014-09-18 00:22:57 +03:00
Perttu Ahola
73f5da9636 Move logging from c55/log to core/log and use it everywhere 2014-09-17 23:44:42 +03:00
Perttu Ahola
dcd21a17ea Use network::Interface for sending packets 2014-09-17 23:22:00 +03:00
Perttu Ahola
f401ac6daf util/codestyle.sh: Replace stupid million space indentations with two tabs 2014-09-17 23:05:05 +03:00
Perttu Ahola
780db76d91 Direct inter-module interface 2014-09-17 23:00:36 +03:00
Perttu Ahola
14abc20e5f Fix coding style 2014-09-17 20:58:23 +03:00
Perttu Ahola
fc2cd76250 testmodules/test1: Request packet type from network 2014-09-17 20:49:30 +03:00
Perttu Ahola
2830e5656d testmodules/test1: Response to new client 2014-09-17 20:24:06 +03:00
Perttu Ahola
f8c21cc2d5 Streamline event handling with a macro 2014-09-17 20:15:46 +03:00
Perttu Ahola
92f3a138cf Switch Event::Private::p from sp_ to up_ 2014-09-17 19:07:26 +03:00
Perttu Ahola
e81305ade4 WIP 2014-09-17 18:52:59 +03:00
Perttu Ahola
803ab12ebb Fix coding style 2014-09-17 18:27:30 +03:00
Perttu Ahola
8f8e2ba9be Accepting connections works 2014-09-17 18:26:58 +03:00
Perttu Ahola
f62a6b59b7 Manage sockets somehow sanely (WIP) 2014-09-17 16:43:37 +03:00
Perttu Ahola
a3892bad3f builtin/network: Move socket creation to core:start 2014-09-17 15:52:15 +03:00
Perttu Ahola
26ffe31b0b builtin/network: Properly set socket in listening state 2014-09-17 14:58:05 +03:00
Perttu Ahola
220b858749 Event loop works 2014-09-17 14:53:06 +03:00
Perttu Ahola
48c4161a0e WIP 2014-09-17 13:37:34 +03:00
Perttu Ahola
0287e82006 Bind a socket but don't listen to it yet 2014-09-17 04:04:50 +03:00
Perttu Ahola
6bcf8f36c1 Initial commit 2014-09-16 15:27:57 +03:00