#include <AmB2BSession.h>
Inheritance diagram for AmB2BSession:

Protected Member Functions | |
| void | clear_other () |
| virtual void | relayEvent (AmEvent *ev) |
| void | relaySip (const AmSipRequest &req) |
| void | relaySip (const AmSipRequest &orig, const AmSipReply &reply) |
| void | terminateLeg () |
| virtual void | terminateOtherLeg () |
| void | onSipRequest (const AmSipRequest &req) |
| void | onSipReply (const AmSipReply &reply) |
| void | process (AmEvent *event) |
| virtual void | onB2BEvent (B2BEvent *ev) |
| virtual void | onOtherBye (const AmSipRequest &req) |
| virtual void | onOtherReply (const AmSipReply &reply) |
| AmB2BSession (const string &other_local_tag) | |
Protected Attributes | |
| string | other_id |
| bool | sip_relay_only |
| TransMap | relayed_req |
| map< int, AmSipRequest > | recvd_req |
It has two legs: Callee- and caller-leg.
| void AmB2BSession::onB2BEvent | ( | B2BEvent * | ev | ) | [protected, virtual] |
B2BEvent handler
Reimplemented in AmB2BCallerSession, and AmB2BCalleeSession.
| void AmB2BSession::onOtherReply | ( | const AmSipReply & | reply | ) | [protected, virtual] |
INVITE from other leg has been replied
| void AmB2BSession::onSipRequest | ( | const AmSipRequest & | req | ) | [protected, virtual] |
| void AmB2BSession::process | ( | AmEvent * | event | ) | [protected, virtual] |
| void AmB2BSession::relayEvent | ( | AmEvent * | ev | ) | [protected, virtual] |
Relay one event to the other side.
| void AmB2BSession::terminateLeg | ( | ) | [protected] |
Terminate our leg and forget the other.
Reimplemented in AmB2BCallerSession.
| void AmB2BSession::terminateOtherLeg | ( | ) | [protected, virtual] |
Terminate the other leg and forget it.
Reimplemented in AmB2BCallerSession.
string AmB2BSession::other_id [protected] |
local tag of the other leg
map<int,AmSipRequest> AmB2BSession::recvd_req [protected] |
Requests received for relaying
TransMap AmB2BSession::relayed_req [protected] |
Requests which have been relayed (sent)
bool AmB2BSession::sip_relay_only [protected] |
Tell if the session should process SIP request itself or only relay them.
1.4.7