Rudiments
Public Member Functions | List of all members
socketlayer Class Referenceabstract

#include <socketlayer.h>

Inherits object.

Inherited by securitycontext, and websocket.

Public Member Functions

virtual void setFileDescriptor (filedescriptor *fd)=0
 
virtual filedescriptorgetFileDescriptor ()=0
 
- Public Member Functions inherited from object
virtual ~object ()
 

Detailed Description

The socketlayer class defines an interface for protocols that sit on top of TCP stream sockets, such as TLS, GSS and Web Sockets.

Member Function Documentation

◆ getFileDescriptor()

virtual filedescriptor * socketlayer::getFileDescriptor ( )
pure virtual

Returns the file descriptor set by a previous call to setFileDescriptor() or NULL if none has been set.

Implemented in gsscontext, tlscontext, and websocket.

◆ setFileDescriptor()

virtual void socketlayer::setFileDescriptor ( filedescriptor * fd)
pure virtual

Sets the file desecriptor to be used by the sockeylayer.

Implemented in gsscontext, tlscontext, and websocket.