/home/barant/Documents/Development/BMASockets/BMAStreamSession.h
#ifndef __BMAStreamSession_h__
#define __BMAStreamSession_h__
#include "BMATCPSocket.h"
#include "BMAEPoll.h"
#include "BMAStreamFrame.h"
class BMAStreamSession : public BMASession {
public:
BMAStreamSession(BMAEPoll &ePoll, BMATCPServerSocket &server);
~BMAStreamSession();
int writeFrame(BMAStreamFrame *frame);
protected:
void protocol(std::string data) override;
void onStreamDataReceived(BMAStreamFrame *frame);
private:
};
#endif
BMATCPServerSocket
Definition: BMATCPServerSocket.h:20
BMAStreamFrame
Definition: BMAStreamFrame.h:4
BMAEPoll
Definition: BMAEPoll.h:29
BMAStreamSession
Definition: BMAStreamSession.h:8
BMASession
Definition: BMASession.h:18