sipxtacklib  Version 3.3
Protected Member Functions | List of all members
Dialog Class Reference

Container for dialog element in the dialog event package. More...

#include <SipDialogEvent.h>

Inheritance diagram for Dialog:
Inheritance graph
[legend]
Collaboration diagram for Dialog:
Collaboration graph
[legend]

Public Member Functions

====================== Dialog Setting Interfaces

These methods set/get the dialog element and sub-elements.

void getDialog (UtlString &dialogId, UtlString &callId, UtlString &localTag, UtlString &remoteTag, UtlString &direction) const
 
void getCallId (UtlString &callId) const
 
void setDialogId (const char *dialogId)
 
void getDialogId (UtlString &dialogId) const
 
void setState (const char *state, const char *event, const char *code)
 
void setTags (const char *local, const char *remote)
 
void getState (UtlString &state, UtlString &event, UtlString &code) const
 
void setDuration (const unsigned long duration)
 
unsigned long getDuration () const
 
void setReplaces (const char *callId, const char *localTag, const char *remoteTag)
 
void getReplaces (UtlString &callId, UtlString &localTag, UtlString &remoteTag) const
 
void setReferredBy (const char *url, const char *display)
 
void getReferredBy (UtlString &url, UtlString &display) const
 
void setLocalIdentity (const char *identity, const char *display)
 
void getLocalIdentity (UtlString &identity, UtlString &display) const
 
void setRemoteIdentity (const char *identity, const char *display)
 
void getRemoteIdentity (UtlString &identity, UtlString &display) const
 
void setLocalTarget (const char *url)
 
void getLocalTarget (UtlString &url) const
 
void setRemoteTarget (const char *url)
 
void getRemoteTarget (UtlString &url) const
 

Protected Member Functions

void setIdentifier ()
 

====================== Constructors and Destructors

static const UtlContainableType TYPE = "Dialog"
 
 Dialog (const char *dialogId, const char *callId, const char *localTag, const char *remoteTag, const char *direction)
 Constructor. More...
 
 ~Dialog ()
 Destructor. More...
 
virtual UtlContainableType getContainableType () const
 
virtual unsigned int hash () const
 
int compareTo (const UtlContainable *b) const
 

Detailed Description

Container for dialog element in the dialog event package.

This class contains all the contents presented in a dialog element of the dialog event package described in draft-ietf-sipping-dialog-package-06.txt (An INVITE Initiated Dialog Event Package for SIP). This class has the methods to construct and manipulate the dialog and its sub-elements.

Constructor & Destructor Documentation

Dialog ( const char *  dialogId,
const char *  callId,
const char *  localTag,
const char *  remoteTag,
const char *  direction 
)

Constructor.

~Dialog ( )

Destructor.

Member Function Documentation

const UtlContainableType getContainableType ( ) const
virtual
unsigned int hash ( ) const
virtual
int compareTo ( const UtlContainable *  b) const
void getDialog ( UtlString &  dialogId,
UtlString &  callId,
UtlString &  localTag,
UtlString &  remoteTag,
UtlString &  direction 
) const
void getCallId ( UtlString &  callId) const
void setDialogId ( const char *  dialogId)
void getDialogId ( UtlString &  dialogId) const
void setState ( const char *  state,
const char *  event,
const char *  code 
)
void setTags ( const char *  local,
const char *  remote 
)
void getState ( UtlString &  state,
UtlString &  event,
UtlString &  code 
) const
void setDuration ( const unsigned long  duration)
unsigned long getDuration ( ) const
void setReplaces ( const char *  callId,
const char *  localTag,
const char *  remoteTag 
)
void getReplaces ( UtlString &  callId,
UtlString &  localTag,
UtlString &  remoteTag 
) const
void setReferredBy ( const char *  url,
const char *  display 
)
void getReferredBy ( UtlString &  url,
UtlString &  display 
) const
void setLocalIdentity ( const char *  identity,
const char *  display 
)
void getLocalIdentity ( UtlString &  identity,
UtlString &  display 
) const
void setRemoteIdentity ( const char *  identity,
const char *  display 
)
void getRemoteIdentity ( UtlString &  identity,
UtlString &  display 
) const
void setLocalTarget ( const char *  url)
void getLocalTarget ( UtlString &  url) const
void setRemoteTarget ( const char *  url)
void getRemoteTarget ( UtlString &  url) const
void setIdentifier ( )
protected

Member Data Documentation

const UtlContainableType TYPE = "Dialog"
static

sipXtackLib home page