Commit Graph

  • 23569b4919 Defining SA_LEN macro to correctly calculate the next sockaddr offset miha_vitorovic 2011-01-11 09:03:20 +01:00
  • 4381e85143 Fixing compile error because of missing 'sa_len' field. miha_vitorovic 2011-01-11 08:34:37 +01:00
  • 38d53f1ab6 cleanup cntd. Matej Sekoranja 2011-01-11 00:58:12 +01:00
  • 3ec4dcdcdb merge Matej Sekoranja 2011-01-10 23:44:33 +01:00
  • b167f78416 cleanup Matej Sekoranja 2011-01-10 23:43:52 +01:00
  • b3fb43800f Fixing bad mering and test for search manager Gasper Jansa 2011-01-10 23:06:46 +01:00
  • a5f44c97c2 merging Gasper Jansa 2011-01-10 22:29:59 +01:00
  • e43d247251 deadlock and some other fixes Gasper Jansa 2011-01-10 22:15:43 +01:00
  • 5224123ba4 deadlock and some other fixes Gasper Jansa 2011-01-10 22:15:32 +01:00
  • 636a1f73bd deadlock and some other fixes Gasper Jansa 2011-01-10 22:15:14 +01:00
  • 21951b885d create channel w/ minor error on verification send-back Matej Sekoranja 2011-01-10 21:15:17 +01:00
  • 349a8217f7 merge and broadcast addresses fix Matej Sekoranja 2011-01-10 17:51:30 +01:00
  • a87b9e72e7 search req. accepted Matej Sekoranja 2011-01-10 16:34:56 +01:00
  • 487882dbff - 'getBroadcastAddresses' now accepts a port as parameter which in then used in all returned broadcast addresses. - 'getBroadcastAddresses' now returns a default broadcast address (255.255.255.255) on failure, if no other broadcast address was found. miha_vitorovic 2011-01-10 16:13:23 +01:00
  • 6db84be16e - Connecting to invalid server (port) now generates an error. - Removed usage 'ipAddrToA' from the code. Replaced with 'ipAddrToDottedIP'. miha_vitorovic 2011-01-10 15:51:35 +01:00
  • 44516e8a40 GrowingCircularBuffer template specialization for pointers done. miha_vitorovic 2011-01-10 15:37:25 +01:00
  • 4e96a20766 ArrayFIFO template specialization for pointers done. miha_vitorovic 2011-01-10 15:18:15 +01:00
  • d7852fa666 Moved AbstractResponseHandler definition to a more logical place. miha_vitorovic 2011-01-10 14:11:27 +01:00
  • df7a9fa073 Added configuration to Context and fixed all the users. miha_vitorovic 2011-01-10 14:09:58 +01:00
  • 4b8bb07d61 Merge miha_vitorovic 2011-01-10 11:24:14 +01:00
  • 596034d6c6 Added debug build to the project Fixes to getBroadcastAddresses(). miha_vitorovic 2011-01-10 11:23:31 +01:00
  • 62ce32e824 merge Matej Sekoranja 2011-01-09 22:50:26 +01:00
  • f1f7ad2709 Context, ChannelSearchManager cyc. dep. resolved Matej Sekoranja 2011-01-09 22:41:05 +01:00
  • 948f706c4f merging Gasper Jansa 2011-01-09 21:45:08 +01:00
  • 3d59fef56e some search manager fixes Gasper Jansa 2011-01-09 21:44:38 +01:00
  • 2dcc2eb486 Merge with 7c40a236787c9744303bb30e6ee9cb2ec81c2215 miha_vitorovic 2011-01-09 21:02:50 +01:00
  • f6a9148bc3 Removed TODO from the comment for getBroadcastAddresses miha_vitorovic 2011-01-09 21:00:37 +01:00
  • e40d6a9d12 getBroadcastAddresses working. miha_vitorovic 2011-01-09 20:59:02 +01:00
  • e26e05bfbf epics mutex now used in named lock pattern Gasper Jansa 2011-01-09 20:15:00 +01:00
  • 7a16e8f748 merge Matej Sekoranja 2011-01-09 20:08:34 +01:00
  • 5c5305635b first successful message test Matej Sekoranja 2011-01-09 20:07:03 +01:00
  • 8644741cfa merging Gasper Jansa 2011-01-07 18:47:13 +01:00
  • 932406e847 configuration implementation and test Gasper Jansa 2011-01-07 18:46:25 +01:00
  • 29db197035 inetAddressUtil.cpp: - the ported version of 'getBroadcastAddresses' compiles. TODO - test and debug. miha_vitorovic 2011-01-07 16:28:42 +01:00
  • 130e6f9645 Added some additional commands to 'MessageCommands' enum. miha_vitorovic 2011-01-07 15:08:53 +01:00
  • 8f0b4d8594 Using osiSockAddress parameter by reference wherever possible. miha_vitorovic 2011-01-07 14:42:00 +01:00
  • 07712cc1f7 Fixed a crash in client which happened if a server closed connection. miha_vitorovic 2011-01-07 13:29:00 +01:00
  • 3c03971939 Fixed core dumps. Transport client now finishes successfully. miha_vitorovic 2011-01-07 13:01:48 +01:00
  • b868736759 Some formatting of the debug message. miha_vitorovic 2011-01-07 10:03:20 +01:00
  • 71b9dfec6d TCP transport now basically works. Still some bugs to squash. miha_vitorovic 2011-01-07 09:53:33 +01:00
  • 387d8aa0dc Some final fixes to addressUtils regarding byte-order. miha_vitorovic 2011-01-07 08:58:17 +01:00
  • a59ce661eb Merge with 8ddd7d0d0f6862b3ad94474f490855909859637e miha_vitorovic 2011-01-07 08:46:17 +01:00
  • 59b45653d1 blockingClientTCPTransport.cpp: - changed magic numbers to enums miha_vitorovic 2011-01-07 08:44:43 +01:00
  • 5707815767 empty test file for channel search manager for real now :) Gasper Jansa 2011-01-06 17:19:20 +01:00
  • 95fdf3e410 merging Gasper Jansa 2011-01-06 17:14:26 +01:00
  • 512bc514e6 Small fixes and empty channel search manager test Gasper Jansa 2011-01-06 17:12:35 +01:00
  • 3dcc75bb57 ChannelSearchManager implementation Gasper Jansa 2011-01-06 15:59:40 +01:00
  • 25d6336efa Merge with c53f510976d631f0602c377e31010184e35bce79 miha_vitorovic 2011-01-06 15:00:26 +01:00
  • 8339c338de blockingServerTCPTransport.cpp: - using enum to specify command. miha_vitorovic 2011-01-06 14:58:32 +01:00
  • 6c3b00dc86 configure/CONFIG_SITE: - added explicit instructions to link pthread library, since it is not included by default on Fedora linux (possibly others?) miha_vitorovic 2011-01-06 09:49:22 +01:00
  • 3c1b9d9743 MacOSX port, this needs to be portable... epicsMutex, but there is no timedlock. Matej Sekoranja 2011-01-05 18:02:09 +01:00
  • 0af1781b5e Added connected clients tracking to BlockingTCPAcceptor. For each new connection a new 'BlockingServerTCPTransport' object is created, but was never released. miha_vitorovic 2011-01-05 13:36:07 +01:00
  • dcc2c83336 Fixed compilation error in TransportClient - dtor definition. miha_vitorovic 2011-01-05 10:36:50 +01:00
  • 596d933bb5 Merge with changes from Matej miha_vitorovic 2011-01-05 10:31:17 +01:00
  • 5f6652af0b - Moved osiSockAddr comparators to 'inetAddressUtil.h' - moved serve response handler implementation(s) to '/server' and fixed #includes and Makefile miha_vitorovic 2011-01-05 10:29:46 +01:00
  • 0cab12ffd6 merge Matej Sekoranja 2011-01-05 10:15:52 +01:00
  • bf5e3f3e19 ChannelSearchManager mocks Matej Sekoranja 2011-01-05 10:14:18 +01:00
  • 544fc6bd73 Added NamedLockPattern to BlockingTCPConnector and resolved some warnings and compilation/linker errors. Reference to '__sync_add_and_fetch' and '__sync_sub_and_fetch' removed for now, since it is glibc version specific. miha_vitorovic 2011-01-05 09:20:51 +01:00
  • 5ec1adfacb Merge with additions from Gasper Jansa miha_vitorovic 2011-01-04 23:48:59 +01:00
  • 6a6e9d6256 Makefile: - added 'server' folder - added 'blockingTCPAcceptor.cpp' and 'responseHandlers.cpp' to 'remote' miha_vitorovic 2011-01-04 23:47:07 +01:00
  • 7f528828ad merge Gasper Jansa 2011-01-04 18:44:50 +01:00
  • 435164bd60 Named lock pattern now for real Gasper Jansa 2011-01-04 18:43:56 +01:00
  • 547a648e76 Named locked pattern and some small things for beacon emitter and handler Gasper Jansa 2011-01-04 18:43:20 +01:00
  • 02478fa61e Added class 'BlockingServerTCPTransport'. miha_vitorovic 2011-01-04 13:17:12 +01:00
  • 45ec248380 merge Matej Sekoranja 2011-01-04 13:16:27 +01:00
  • b6d9221a47 ctnd. work on remote client access implementation Matej Sekoranja 2011-01-04 12:58:51 +01:00
  • 328472f939 Merge with changes from Gasper Jansa miha_vitorovic 2011-01-04 12:01:14 +01:00
  • bd1a4e2634 Makefile: included all the new sources miha_vitorovic 2011-01-04 11:58:00 +01:00
  • a2798bb3b7 merging Gasper Jansa 2011-01-03 14:47:42 +01:00
  • 854a78d393 Transport Registry map uses osiSockAddr as key Gasper Jansa 2011-01-03 14:46:16 +01:00
  • 9b99f6f389 Merge with commit from Gasper Jansa miha_vitorovic 2011-01-03 14:31:50 +01:00
  • b6df9a4d89 blockingTCP.h: added TransportRegistry, removed "using namespace" BlockingTCPTransport: added TransportRegistry, using osiSock.h functions wherever possible blockingUDP.h: removed "using namespace" blockingUDPConnector.cpp: using osiSock.h functions wherever possible blockingUDPTransport: using osiSock.h functions wherever possible, delete -> delete[] remote.h: removed "using namespace" arrayFIFO.h: fixed default ctor, delete -> delete[] growingCircularBuffer.h: delete -> delete[] testBlockingUDPClnt.cpp: using osiSock.h functions wherever possible testBlockingUDPCSrv.cpp: using osiSock.h functions wherever possible miha_vitorovic 2011-01-03 14:30:38 +01:00
  • 0a43e1104c beaconEmitter and handler (not finished) Gasper Jansa 2011-01-03 09:58:35 +01:00
  • 95148e2d50 ref. counting macro, starting remote client implementation Matej Sekoranja 2011-01-02 12:59:33 +01:00
  • 9a8c205d54 Some GrowingCircularBuffer and Mutex cleanup. miha_vitorovic 2010-12-31 12:00:40 +01:00
  • 16aa5fba25 Added MonitorHandler. Porting of BlockingTCPTransport now complete. TODO: 1) check thread sync and "notify" in Java make C++ code as equivalent as possible. 2) Debug :) miha_vitorovic 2010-12-30 13:53:52 +01:00
  • 3fc6171075 Entire BlockingTCPTransport class ported EXCEPT 'monitorSender'. miha_vitorovic 2010-12-30 12:47:49 +01:00
  • ae4abfe636 Readded .hgignore miha_vitorovic 2010-12-29 15:03:41 +01:00
  • c452ec3343 Merge with 0e964e46b15e05887fa9ce6e486681bf0a691654 miha_vitorovic 2010-12-29 15:02:44 +01:00
  • 2202d88020 blockingTCPTransport - work in progress. miha_vitorovic 2010-12-29 15:01:42 +01:00
  • c850a2ecfb merging Gasper Jansa 2010-12-29 10:17:28 +01:00
  • 25df2c30d1 hgignore removed Gasper Jansa 2010-12-29 10:15:46 +01:00
  • 09076dd5bd transportRegistry added and remove of compare fields routine from introspectionRegistry gjansa 2010-12-29 09:56:43 +01:00
  • 2b9c505b8d transportRegistry test gjansa 2010-12-29 09:55:45 +01:00
  • 5d5346d818 transportRegistry test gjansa 2010-12-29 09:55:19 +01:00
  • 15d2daef43 Some changes to how transport is destroyed. Added virtual dtor to Transport class. In server the transport is now explicitly deleted. miha_vitorovic 2010-12-28 16:29:15 +01:00
  • fe5ea9442c A working blockingUDPTransport with test. TODO: debug stopping listener thread. miha_vitorovic 2010-12-28 15:47:05 +01:00
  • 3eea9688f0 Some comments removed. gjansa 2010-12-28 10:10:00 +01:00
  • 58f03384c2 UDP transport cleanup - closing the socket and stopping the thread; miha_vitorovic 2010-12-28 10:09:37 +01:00
  • bc3ce27494 Using == operator on fields gjansa 2010-12-28 10:06:18 +01:00
  • 16542b9e3c Set socket options based on Connector properties. miha_vitorovic 2010-12-28 09:06:38 +01:00
  • 06842f7890 Makefile: renamed blockingUDP header, added blockingUDPConnector.cpp blockingUDPTransport.cpp: fixed ctor, addedmutex to 'enqueueSendRequest', started using 'sys/socket.h' remote.h: added TransportClient and Connector classes introspectionRegistry.h: organized #includes miha_vitorovic 2010-12-28 08:59:25 +01:00
  • 15ad456930 Merge with 2240b8485ef2182e083614fc304bfe7e1b6c771a miha_vitorovic 2010-12-27 14:02:31 +01:00
  • 54b4862e16 Finished the implementation of BlockingUDPTransport. Ready for testing and debugging. miha_vitorovic 2010-12-27 13:58:49 +01:00
  • 69517e18f6 introspection registry test Gasper Jansa 2010-12-27 10:51:51 +01:00
  • c203989cbd Introspection registry implementation Gasper Jansa 2010-12-27 10:48:01 +01:00
  • e5aa01a576 introspection regitry implementation Gasper Jansa 2010-12-27 10:47:18 +01:00
  • 7cad4455c3 merge + signed/unsigned comparison fix Matej Sekoranja 2010-12-27 10:12:09 +01:00
  • 6502180a9f CreateRequest Matej Sekoranja 2010-12-27 10:03:25 +01:00
  • 97283b5226 Merge with 2fb285b99aed93639851020862f3cf6e977655a6 miha_vitorovic 2010-12-27 09:09:57 +01:00