/home/barant/Documents/Development/BMASockets/BMAStreamSocket.h
#ifndef __BMAStreamSocket_h__
#define __BMAStreamSocket_h__
#include "BMATCPSocket.h"
#include "BMAEPoll.h"
#include "BMAStreamFrame.h"
class BMAStreamSocket : public BMASession {
public:
BMAStreamSocket(BMAEPoll &ePoll);
~BMAStreamSocket();
int writeFrame(BMAStreamFrame *frame);
protected:
void onDataReceived(char *data, int length);
void onStreamDataReceived(BMAStreamFrame *frame);
private:
};
#endif
BMAStreamSocket::onDataReceived
void onDataReceived(char *data, int length)
Called when data is received from the socket.
Definition: BMAStreamSocket.cpp:12
BMAStreamFrame
Definition: BMAStreamFrame.h:4
BMAStreamSocket
Definition: BMAStreamSocket.h:8
BMAEPoll
Definition: BMAEPoll.h:29
BMASession
Definition: BMASession.h:16