com.ibm.diameter.rf.util
Class SipInfo

java.lang.Object
  extended by com.ibm.diameter.rf.util.SipInfo

public class SipInfo
extends java.lang.Object

Holds the SIP information used in accounting to keep track of the parties involved and the type of transaction.


Constructor Summary
SipInfo()
           
 
Method Summary
 java.lang.String getCalledPartyAddress()
          Obtains the address of the called party.
 java.lang.String getCallingPartyAddress()
          Obtains the address of the calling party.
 java.lang.String getContentDisposition()
          Obtains the content disposition indicating how the msg-body is to be interpreted.
 java.lang.String getContentLength()
          Obtains the content length, which holds the size of the msg-body.
 java.lang.String getContentType()
          Obtains the media content type.
 java.lang.String getEvent()
          Obtains the event value, which contains the event header used in SUBSCRIBE and NOTIFY messages.
 java.lang.String getSipMethod()
          Obtains the sip method value, which contains the name of SIP method (INVITE, UPDATE etc.) [SIP-Method]
 java.lang.String getSipRequest()
          Obtains the time in UTC format of the initial sip request.
 java.lang.String getSipResponse()
          Obtains the time in UTC format of the response to the initial sip request.
 void setCalledPartyAddress(java.lang.String calledPartyAddress)
          Sets the address of the called party value.
 void setCallingPartyAddress(java.lang.String callingPartyAddress)
          Sets the address of the calling party value.
 void setContentDisposition(java.lang.String contentDisposition)
          Sets the content disposition value.
 void setContentLength(java.lang.String contentLength)
          Sets the content length value.
 void setContentType(java.lang.String contentType)
          Sets the media content type value.
 void setEvent(java.lang.String event)
          Sets the event value.
 void setSipMethod(java.lang.String sipMethod)
          Sets the sip method value.
 void setSipRequest(java.lang.String sipRequest)
          Sets the sip request time value.
 void setSipResponse(java.lang.String sipResponse)
          Sets the sip response time value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SipInfo

public SipInfo()
Method Detail

getContentType

public java.lang.String getContentType()
Obtains the media content type. Example: contentType=”application” or sdp,text/html [Content-Type]

Returns:
contentType

setContentType

public void setContentType(java.lang.String contentType)
Sets the media content type value.

Parameters:
contentType - The contentType to set.

getEvent

public java.lang.String getEvent()
Obtains the event value, which contains the event header used in SUBSCRIBE and NOTIFY messages. [Event]

Returns:
event

setEvent

public void setEvent(java.lang.String event)
Sets the event value.

Parameters:
event - The event to set.

getSipMethod

public java.lang.String getSipMethod()
Obtains the sip method value, which contains the name of SIP method (INVITE, UPDATE etc.) [SIP-Method]

Returns:
sipMethod

setSipMethod

public void setSipMethod(java.lang.String sipMethod)
Sets the sip method value.

Parameters:
sipMethod - The sipMethod to set.

getSipRequest

public java.lang.String getSipRequest()
Obtains the time in UTC format of the initial sip request. [SIP-Request-Timestamp]

Returns:
sipRequest

setSipRequest

public void setSipRequest(java.lang.String sipRequest)
Sets the sip request time value.

Parameters:
sipRequest - The sipRequest to set.

getSipResponse

public java.lang.String getSipResponse()
Obtains the time in UTC format of the response to the initial sip request. [SIP-Response-Timestamp]

Returns:
sipResponse

setSipResponse

public void setSipResponse(java.lang.String sipResponse)
Sets the sip response time value.

Parameters:
sipResponse - The sipResponse to set.

getCalledPartyAddress

public java.lang.String getCalledPartyAddress()
Obtains the address of the called party. [Called-Party-Address]

Returns:
calledPartyAddress

setCalledPartyAddress

public void setCalledPartyAddress(java.lang.String calledPartyAddress)
Sets the address of the called party value.

Parameters:
calledPartyAddress - The calledPartyAddress to set.

getCallingPartyAddress

public java.lang.String getCallingPartyAddress()
Obtains the address of the calling party. [Calling-Party-Address]

Returns:
callingPartyAddress

setCallingPartyAddress

public void setCallingPartyAddress(java.lang.String callingPartyAddress)
Sets the address of the calling party value.

Parameters:
callingPartyAddress - The callingPartyAddress to set.

getContentDisposition

public java.lang.String getContentDisposition()
Obtains the content disposition indicating how the msg-body is to be interpreted. i.e. contentDisposition=”render”. [Content-Disposition]

Returns:
contentDisposition

setContentDisposition

public void setContentDisposition(java.lang.String contentDisposition)
Sets the content disposition value.

Parameters:
contentDisposition - The contentDisposition to set.

getContentLength

public java.lang.String getContentLength()
Obtains the content length, which holds the size of the msg-body. [Content-Length]

Returns:
contentLength

setContentLength

public void setContentLength(java.lang.String contentLength)
Sets the content length value.

Parameters:
contentLength - The contentLength to set.


Copyright © 2006 IBM Corp. All Rights Reserved.