Changeset 29:0a619f9e8e02 in vscpl for src
- Timestamp:
- 12/15/22 15:56:58 (2 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- src/hu/varadiistvan/scpl/io/_win32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/hu/varadiistvan/scpl/io/_win32/LocalAcceptor.cc
r9 r29 34 34 35 35 using hu::varadiistvan::scpl::io::LocalAcceptor; 36 37 using hu::varadiistvan::scpl::io::BufferedStream; 36 38 37 39 //------------------------------------------------------------------------------ … … 73 75 //------------------------------------------------------------------------------ 74 76 77 BufferedStream* LocalAcceptor::getAcceptedBufferedStream(Waiter* waiter) 78 { 79 return (waiter==nullptr) ? getSocket() : getSocket(waiter); 80 } 81 82 //------------------------------------------------------------------------------ 83 75 84 void LocalAcceptor::handleWaitedResult(DWORD /*size*/) 76 85 { -
src/hu/varadiistvan/scpl/io/_win32/LocalAcceptor.h
r9 r29 31 31 //------------------------------------------------------------------------------ 32 32 33 #include "../BufferedStreamAcceptor.h" 34 33 35 #include "Completer.h" 34 36 … … 46 48 * local server socket, i.e. named pipe. 47 49 */ 48 class LocalAcceptor : public Completer 50 class LocalAcceptor : public Completer, 51 public BufferedStreamAcceptor 49 52 { 50 53 private: … … 104 107 105 108 109 /** 110 * Get the last accepted socket as a buffered stream with the given waiter, 111 * if any. 112 */ 113 BufferedStream* getAcceptedBufferedStream(Waiter* waiter = nullptr) override; 114 106 115 protected: 107 116 /**
Note:
See TracChangeset
for help on using the changeset viewer.