class axl::cry::Bio

#include <axl_cry_Bio.h>

class Bio: public axl::sl::Handle
{
public:
    // construction

    Bio();

    // methods

    bool
    create(BIO_METHOD* method);

    bool
    createMem();

    bool
    createMemBuf(
        const void* p,
        size_t size = -1
        );

    bool
    createSocket(
        socket_t socket,
        bool isAutoClose = false
        );

    bool
    createFp(
        FILE* file,
        bool isAutoClose = false
        );

    bool
    createFd(
        int fd,
        bool isAutoClose = false
        );

    void
    freeAll();

    BUF_MEM*
    getBufMem();
};

Inherited Members

public:
    // typedefs

    typedef T H;

    // methods

    operator T() const;

    T
    operator->() const;

    const Handle&
    operator=(T h);

    bool
    isOpen() const;

    void
    close();

    void
    attach(T h);

    T
    detach();

    T*
    p();

    static
    T
    getInvalidHandle();