Provider of a stream interface. More...
#include <StreamInterface.h>
Public Member Functions | |
| Provider () | |
| The user of this provider. | |
| virtual | ~Provider () |
| Destructor should be virtual. | |
| void | SetUser (User *u) |
| set the user | |
| User * | GetUser () |
| get the user | |
| virtual endpoint_t | GetEndpoint (bool inheriting)=0 |
| Get the endpoint ID, if inheriting, set to be inherited. | |
| virtual unsigned | Events ()=0 |
| Get the poller events on the endpoint. | |
| virtual int | GetLocalAddress (struct sockaddr *laddr, socklen_t *lalenp, MSGstruct *msp)=0 |
| Get the local address. | |
| virtual int | GetPeerAddress (struct sockaddr *paddr, socklen_t *palenp, MSGstruct *msp)=0 |
| Get the local address. | |
| virtual TLS_CipherSuite | GetCipherSuite () |
| Return the current TLS cipher, if any. | |
| virtual X509 * | GetPeerCertificate () |
| Return the current TLS client certificate, if any. | |
| virtual void | Die ()=0 |
| Go away. | |
| virtual void | Deliver (External *ext)=0 |
| Set external. | |
| virtual void | Deliver (ConnectRequest *req)=0 |
| connect | |
| virtual void | Deliver (ListenRequest *req)=0 |
| listen | |
| virtual void | Deliver (ConnectAccept *req)=0 |
| accept | |
| virtual void | Deliver (DisconnectRequest *req)=0 |
| disconnect | |
| virtual void | Deliver (DataRequest *req)=0 |
| send data | |
| virtual void | Deliver (ReadRequest *req)=0 |
| Release read buffer. | |
| virtual void | Deliver (StartTLS *req)=0 |
| Start SSL/TLS on stream. | |
| virtual void | Deliver (StreamControl *option)=0 |
| Control stream. | |
| virtual void | Deliver (LengthFnxRequest *req)=0 |
| Set length function. | |
Static Public Member Functions | |
| static EVENTSVC_DLL Provider * | ProviderFactory (const char *type, MSGstruct *msp) |
| Factory method for Stream provider. | |
Detailed Description
Provider of a stream interface.
Definition at line 129 of file StreamInterface.h.
Constructor & Destructor Documentation
◆ Provider()
|
inline |
The user of this provider.
Constructor
Definition at line 135 of file StreamInterface.h.
◆ ~Provider()
|
inlinevirtual |
Member Function Documentation
◆ SetUser()
|
inline |
set the user
Definition at line 141 of file StreamInterface.h.
Referenced by Stream::SocketPoll::tidy().
◆ GetUser()
|
inline |
◆ GetEndpoint()
|
pure virtual |
Get the endpoint ID, if inheriting, set to be inherited.
Implemented in Stream::SocketPoll.
◆ Events()
|
pure virtual |
Get the poller events on the endpoint.
Implemented in Stream::SocketPoll.
◆ GetLocalAddress()
|
pure virtual |
Get the local address.
Implemented in Stream::SocketPoll.
◆ GetPeerAddress()
|
pure virtual |
Get the local address.
Implemented in Stream::SocketPoll.
◆ GetCipherSuite()
|
inlinevirtual |
Return the current TLS cipher, if any.
Reimplemented in Stream::SocketPoll.
Definition at line 164 of file StreamInterface.h.
◆ GetPeerCertificate()
|
inlinevirtual |
Return the current TLS client certificate, if any.
Reimplemented in Stream::SocketPoll.
Definition at line 169 of file StreamInterface.h.
◆ Die()
|
pure virtual |
Go away.
Implemented in Stream::SocketPoll.
◆ Deliver() [1/10]
|
pure virtual |
Set external.
Implemented in Stream::SocketPoll.
◆ Deliver() [2/10]
|
pure virtual |
connect
Implemented in Stream::SocketPoll.
◆ Deliver() [3/10]
|
pure virtual |
listen
Implemented in Stream::SocketPoll.
◆ Deliver() [4/10]
|
pure virtual |
accept
Implemented in Stream::SocketPoll.
◆ Deliver() [5/10]
|
pure virtual |
disconnect
Implemented in Stream::SocketPoll.
◆ Deliver() [6/10]
|
pure virtual |
send data
Implemented in Stream::SocketPoll.
◆ Deliver() [7/10]
|
pure virtual |
Release read buffer.
Implemented in Stream::SocketPoll.
◆ Deliver() [8/10]
|
pure virtual |
Start SSL/TLS on stream.
Implemented in Stream::SocketPoll.
◆ Deliver() [9/10]
|
pure virtual |
Control stream.
Implemented in Stream::SocketPoll.
◆ Deliver() [10/10]
|
pure virtual |
Set length function.
Implemented in Stream::SocketPoll.
◆ ProviderFactory()
|
static |
Factory method for Stream provider.
Definition at line 153 of file EventSvc.C.
References Poll::Provider::GetPollService(), and Poll::Provider::ProviderFactory().
The documentation for this class was generated from the following files: