summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/windows
Commit message (Collapse)AuthorAgeFilesLines
* Add SSL support for Windows client and broker per QPID-1403. Adds new ↵Stephen D. Huston2010-01-233-5/+846
| | | | | | | | | | | | | AsynchIO::BufferBase::squish() method that does what used to be done by in-place memmove() calls so it can be reused easily. SSL support for Windows is in: - Client: qpid/client/windows/SslConnector.cpp qpid/client/TCPConnector.{h cpp} rearranged a bit to make pieces available to SslConnector - Broker: qpid/broker/windows/SslProtocolFactory.cpp - Common: qpid/sys/windows/SslAsynchIO contains all the Schannel stuff to negotiate a session, encrypt, and decrypt data. The SslAsynchIO acts as a shim between the layer above and the "regular" AsynchIO that actually handles read/write and completions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@902318 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to make Win32 port build again (and remove some warnings)Andrew Stitcher2010-01-211-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901816 13f79535-47bb-0310-9956-ffa450edef68
* Split out AsynchConnecter::start from constructor (like other AsynchIO classes)Andrew Stitcher2010-01-211-6/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901547 13f79535-47bb-0310-9956-ffa450edef68
* Correct new uuid methods for Windows, add QPID_CLIENT_EXTERN where needed.Stephen D. Huston2010-01-182-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@900592 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2323: add a Uuid type and allow it as the value of a Variant.Gordon Sim2010-01-152-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@899657 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2281: LockFile class now actually locks the file!Andrew Stitcher2009-12-151-3/+8
| | | | | | [before it just opened the file without locking it] git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@891061 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1951: Removed need for Windows versions of ssize_t and pid_tAndrew Stitcher2009-12-151-25/+0
| | | | | | | | - Trivially removed Windows uses of ssize_t - Rearchitected how the Windows port finds an existing qpidd to stop it - Split Posix Lockfile functionality using pids into a new PidFile class git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@890929 13f79535-47bb-0310-9956-ffa450edef68
* Ensure connections are done blocking; there's no asynch connect support yet. ↵Stephen D. Huston2009-10-281-1/+1
| | | | | | Fixes intermittent connection hangs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830796 13f79535-47bb-0310-9956-ffa450edef68
* Tidied up dependencies in IOHandle so that it is no longerAndrew Stitcher2009-10-215-28/+36
| | | | | | dependent on the windows implementation classes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828230 13f79535-47bb-0310-9956-ffa450edef68
* Carry over recent AsynchIO-level changes to Windows.Stephen D. Huston2009-10-206-73/+73
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827735 13f79535-47bb-0310-9956-ffa450edef68
* Add new SocketAddress.cpp and requisite adjustments; a few install improvementsStephen D. Huston2009-10-123-29/+104
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@824545 13f79535-47bb-0310-9956-ffa450edef68
* Refactored Socket to allow for IPv6 and unix domain socketAndrew Stitcher2009-10-121-9/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@824237 13f79535-47bb-0310-9956-ffa450edef68
* Make the AsynchIO API more consistentAndrew Stitcher2009-09-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@817711 13f79535-47bb-0310-9956-ffa450edef68
* Working towards abstracting away the cross platform uuid mess:Andrew Stitcher2009-08-311-0/+38
| | | | | | | * Stop including indirectly from uuid.h in qpid/framing/Uuid.h and move inline definitions there into the implementation file git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@809781 13f79535-47bb-0310-9956-ffa450edef68
* Removed TSS variables that tracked I/O counts; not used. Part of fix for ↵Stephen D. Huston2009-08-141-17/+0
| | | | | | QPID-1868 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@804394 13f79535-47bb-0310-9956-ffa450edef68
* Try to create piddir if needed; on error throw a useful message. Fixes QPID-2030Stephen D. Huston2009-08-051-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801315 13f79535-47bb-0310-9956-ffa450edef68
* Never try to init a string with a zero pointer; fixes QPID-1998Stephen D. Huston2009-07-211-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@796581 13f79535-47bb-0310-9956-ffa450edef68
* Use a loopback socket instead of a pipe on Windows; resolves part of QPID-1918Stephen D. Huston2009-07-211-13/+49
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@796577 13f79535-47bb-0310-9956-ffa450edef68
* Move remaining needed Windows files from src/qpid/sys/windows to ↵Stephen D. Huston2009-07-173-124/+0
| | | | | | include/qpid/sys/windows git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@795202 13f79535-47bb-0310-9956-ffa450edef68
* Move necessary files due to header file reorg; fixes Windows buildStephen D. Huston2009-07-163-306/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@794777 13f79535-47bb-0310-9956-ffa450edef68
* Add directory to #includeAlan Conway2009-07-1411-17/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793909 13f79535-47bb-0310-9956-ffa450edef68
* Simplified PollableConditionAlan Conway2009-07-091-11/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@792676 13f79535-47bb-0310-9956-ffa450edef68
* Properly handle queued closes originating locally. Fixes QPID-1952Stephen D. Huston2009-07-071-3/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@791997 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1852 Removed thread unsafe code in LoggerAndrew Stitcher2009-05-122-1/+14
| | | | | | | Fixed some potentially iffy code in Connector.h if a derived Connector doesn't have activateSecurityLayer() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@774051 13f79535-47bb-0310-9956-ffa450edef68
* Add --quit, --check for Windows; required fixing LockFile for WindowsStephen D. Huston2009-05-111-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@773712 13f79535-47bb-0310-9956-ffa450edef68
* Hack around the namespace pollution in QPID-1737Andrew Stitcher2009-05-054-5/+8
| | | | | | | | Hack around simultaneous import and definition of ManagementAgent::Singleton in qpidbroker Make ACL plugin optional (default off on Windows currently) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@771989 13f79535-47bb-0310-9956-ffa450edef68
* Add portability support for QMF agent, thanks to Pete McKinnon - partially ↵Stephen D. Huston2009-05-041-0/+65
| | | | | | fixes QPID-1731 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@771457 13f79535-47bb-0310-9956-ffa450edef68
* Refactored the DispatchHandle/Poller code to remove a long standingAndrew Stitcher2009-05-043-11/+11
| | | | | | | | | | | | | | set of race conditions. - Changed Poller naming for better clarity with new semantics. - Changed Poller semantics to avoid DispatchHandle keeping so much state - Changed Poller so that it will never re-enable a Handle until Poller::wait is called again on the same thread that returned the Handle. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@771338 13f79535-47bb-0310-9956-ffa450edef68
* Need to see toFd from tests; related to QPID-1765Stephen D. Huston2009-03-271-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@759311 13f79535-47bb-0310-9956-ffa450edef68
* Remove unneeded size_t typedef; fixes QPID-1745Stephen D. Huston2009-03-171-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@755443 13f79535-47bb-0310-9956-ffa450edef68
* Correct the handling of end-of-connection cases; fixes QPID-1550Stephen D. Huston2009-03-171-12/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@755441 13f79535-47bb-0310-9956-ffa450edef68
* Changes to build DLLs instead of static libs on Windows; primarily added ↵Stephen D. Huston2009-03-121-6/+7
| | | | | | decorators to exported names. Fixes QPID-1673 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@753014 13f79535-47bb-0310-9956-ffa450edef68
* Remove socklen_t for Windows; related to QPID-1710Stephen D. Huston2009-03-052-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750253 13f79535-47bb-0310-9956-ffa450edef68
* Implement process id and name methods for WindowsStephen D. Huston2009-02-241-8/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@747577 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1676 - Added client process name and pid to connection object for ↵Ted Ross2009-02-241-0/+19
| | | | | | | | | | management. Supported in C++, Python, and Ruby clients. Still needs to be added to the Java clients. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@747389 13f79535-47bb-0310-9956-ffa450edef68
* Merged win-pollable-condition branch changes 743545:746056 into trunkStephen D. Huston2009-02-201-0/+125
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@746061 13f79535-47bb-0310-9956-ffa450edef68
* Fix race condition with read-credit.Alan Conway2009-02-111-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@743416 13f79535-47bb-0310-9956-ffa450edef68
* Move dispatcher code from iocpDispatcher.cpp (no longer needed) to ↵Stephen D. Huston2009-01-132-57/+15
| | | | | | IocpPoller.cpp (run); mirrors migration introduced on Linux side git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@734265 13f79535-47bb-0310-9956-ffa450edef68
* Add support for AsynchIO::RequestCallback processingStephen D. Huston2009-01-124-11/+65
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@733966 13f79535-47bb-0310-9956-ffa450edef68
* Tidied up a number of TODO itemsAndrew Stitcher2009-01-081-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732620 13f79535-47bb-0310-9956-ffa450edef68
* Adapt to recent changes/additionsStephen D. Huston2009-01-071-8/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732551 13f79535-47bb-0310-9956-ffa450edef68
* Work on the low level IO code:Andrew Stitcher2009-01-061-0/+6
| | | | | | | | | * Introduce code so that you can interrupt waiting for a handle and receive a callback that is correctly serialised with the IO callbacks for that handle git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732177 13f79535-47bb-0310-9956-ffa450edef68
* Add startReading() method required by sys::AsynchIO. Fixes QPID-1525.Stephen D. Huston2008-12-101-60/+56
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@725486 13f79535-47bb-0310-9956-ffa450edef68
* Correct returned value on successful parseStephen D. Huston2008-11-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@713201 13f79535-47bb-0310-9956-ffa450edef68
* Correct signature of usleep() methodStephen D. Huston2008-11-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@710216 13f79535-47bb-0310-9956-ffa450edef68
* Resolve Time diffs for Windows; add Windows version of asynch I/O layer. ↵Stephen D. Huston2008-10-305-17/+155
| | | | | | Resolves QPID-1209 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@709285 13f79535-47bb-0310-9956-ffa450edef68
* Remove nonportable include dlfcn; add Windows version of Shlib.cppStephen D. Huston2008-10-211-0/+53
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@706810 13f79535-47bb-0310-9956-ffa450edef68
* Refactor sys::AsynchIO class to allow reimplementing on other platforms ↵Stephen D. Huston2008-10-217-0/+1569
| | | | | | without affecting upper level usage. Resolves QPID-1377 and supplies Windows AsynchIO.cpp git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@706709 13f79535-47bb-0310-9956-ffa450edef68
* Make Address/TcpAddress manipulation portable; extend SystemInfo functions ↵Stephen D. Huston2008-10-091-0/+160
| | | | | | to Windows; resolves QPID-1325 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@703179 13f79535-47bb-0310-9956-ffa450edef68
* Add uuid wrapper for Windows; resolves QPID-1328Stephen D. Huston2008-10-082-0/+95
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@702917 13f79535-47bb-0310-9956-ffa450edef68