Added methods to get the sender and receiver ports
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4929 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -18,6 +18,8 @@ public:
|
|||||||
virtual ~BSession();
|
virtual ~BSession();
|
||||||
void SetSendPort( port_id port );
|
void SetSendPort( port_id port );
|
||||||
void SetRecvPort( port_id port );
|
void SetRecvPort( port_id port );
|
||||||
|
port_id GetSendPort(void) const { return fSendPort; }
|
||||||
|
port_id GetRecvPort(void) const { return fReceivePort; }
|
||||||
bool DropInputBuffer();
|
bool DropInputBuffer();
|
||||||
|
|
||||||
char* ReadString();
|
char* ReadString();
|
||||||
|
|||||||
Reference in New Issue
Block a user