/home/barant/Documents/Development/BMASockets/BMASIPSession.h
#ifndef __BMASIPSession_h__
#define __BMASIPSession_h__
#include "BMASession.h"
#include "BMASIPServer.h"
#include "BMAHeader.h"
#include "BMASIPREGISTER.h"
#include "BMASIPINVITE.h"
class BMASIPSession : public BMASession {
public:
BMASIPSession(BMAEPoll &ePoll, BMASIPServer &server);
~BMASIPSession();
protected:
void protocol(std::string data) override;
private:
BMASIPServer &server;
BMAHeader *header;
enum Status {RECEIVE_REQUEST, SEND_RESPONSE};
Status status = RECEIVE_REQUEST;
BMASIPINVITE invite;
BMASIPREGISTER registerx;
};
#endif
BMASIPServer
Definition: BMASIPServer.h:9
BMAEPoll
Definition: BMAEPoll.h:29
BMASIPREGISTER
Definition: BMASIPREGISTER.h:6
BMASIPSession
Definition: BMASIPSession.h:10
BMASession
Definition: BMASession.h:18
BMAHeader
Definition: BMAHeader.h:7
BMASIPINVITE
Definition: BMASIPINVITE.h:6