13typedef wv::function<void(
IWvStream*)> IWvListenerCallback;
19 static IWvListener *create(WvString moniker, IObject *obj = NULL);
32 virtual IWvListenerCallback
onaccept(IWvListenerCallback _cb) = 0;
41 virtual void addwrap(IWvListenerWrapper _wrapper) = 0;
45 0xee, 0xc0, 0x0f, 0xa7, 0xe3, 0x08, 0xeb}});
virtual IWvStream * accept()=0
Accept a connection from this stream.
virtual IWvListenerCallback onaccept(IWvListenerCallback _cb)=0
Set a user-defined function to be called when a new connection is available.
virtual void addwrap(IWvListenerWrapper _wrapper)=0
Add a wrapper function for this stream: something that accept() will call to possibly wrap the stream...
#define DEFINE_IID(iface, u1, u2, u3, u4, u5, u6, u7, u8, u9, u10, u11)
Used to define the IID of an interface.