mkh.sip
Class SIPMessage

java.lang.Object
  extended bymkh.sip.SIPMessage

public class SIPMessage
extends java.lang.Object

This class is a Session Initiation Protocol (SIP) Message.

Version:
1.0, 14/07/2004
Author:
Masood Khosroshahy ( www.m-kh.info )

Field Summary
 java.util.Properties headers
          SIP headers are held in this Properties object.
 SDPMessage sdpMessage
          An SDP message that is contained in the SIP message.
 java.lang.String SIPContentType
          If set to "application/sdp" an SDP message is created as an embedded object.
 
Constructor Summary
SIPMessage(java.lang.String contentType)
          Constructor.
 
Method Summary
 java.util.Properties returnSDPHeaders()
          This is for someone who wants to set other SDP headers as well.
 java.util.Properties returnSIPHeaders()
          This is for someone who wants to set other SIP headers as well.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

headers

public java.util.Properties headers
SIP headers are held in this Properties object.


sdpMessage

public SDPMessage sdpMessage
An SDP message that is contained in the SIP message.


SIPContentType

public java.lang.String SIPContentType
If set to "application/sdp" an SDP message is created as an embedded object.

Constructor Detail

SIPMessage

public SIPMessage(java.lang.String contentType)
Constructor.

Method Detail

returnSIPHeaders

public java.util.Properties returnSIPHeaders()
This is for someone who wants to set other SIP headers as well. ( printMessageContent() function in User Agent and Proxy Server should be amended accordingly)


returnSDPHeaders

public java.util.Properties returnSDPHeaders()
This is for someone who wants to set other SDP headers as well. ( printMessageContent() function in User Agent and Proxy Server should be amended accordingly)