org.mobicents.slee.resource.sip
Class SipStackProxy

java.lang.Object
  extended by org.mobicents.slee.resource.sip.SipStackProxy
All Implemented Interfaces:
javax.sip.SipStack

public class SipStackProxy
extends java.lang.Object
implements javax.sip.SipStack

Title: SIP_RA

Description: JAIN SIP Resource Adaptor

Copyright: Copyright (c) 2005

Company: Lucent Technologies

Version:
1.0
Author:
mvera@lucent.com

Constructor Summary
SipStackProxy(javax.sip.SipStack stack, SipProviderProxy proxy)
           
 
Method Summary
 javax.sip.ListeningPoint createListeningPoint(int _int, java.lang.String string)
          createListeningPoint
 javax.sip.ListeningPoint createListeningPoint(java.lang.String ipAddress, int port, java.lang.String transport)
           
 javax.sip.SipProvider createSipProvider(javax.sip.ListeningPoint listeningPoint)
          createSipProvider
 void deleteListeningPoint(javax.sip.ListeningPoint listeningPoint)
          deleteListeningPoint
 void deleteSipProvider(javax.sip.SipProvider sipProvider)
          deleteSipProvider
 java.lang.String getIPAddress()
          getIPAddress
 java.util.Iterator getListeningPoints()
          getListeningPoints
 javax.sip.address.Router getRouter()
          getRouter
 java.util.Iterator getSipProviders()
          getSipProviders
 java.lang.String getStackName()
          getStackName
 boolean isRetransmissionFilterActive()
          isRetransmissionFilterActive
 void release()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SipStackProxy

public SipStackProxy(javax.sip.SipStack stack,
                     SipProviderProxy proxy)
Method Detail

release

public void release()

createListeningPoint

public javax.sip.ListeningPoint createListeningPoint(int _int,
                                                     java.lang.String string)
                                              throws javax.sip.TransportNotSupportedException,
                                                     javax.sip.InvalidArgumentException
createListeningPoint

Specified by:
createListeningPoint in interface javax.sip.SipStack
Parameters:
_int - int
string - String
Returns:
ListeningPoint
Throws:
javax.sip.TransportNotSupportedException
javax.sip.InvalidArgumentException

createSipProvider

public javax.sip.SipProvider createSipProvider(javax.sip.ListeningPoint listeningPoint)
                                        throws javax.sip.ObjectInUseException
createSipProvider

Specified by:
createSipProvider in interface javax.sip.SipStack
Parameters:
listeningPoint - ListeningPoint
Returns:
SipProvider
Throws:
javax.sip.ObjectInUseException

deleteListeningPoint

public void deleteListeningPoint(javax.sip.ListeningPoint listeningPoint)
                          throws javax.sip.ObjectInUseException
deleteListeningPoint

Specified by:
deleteListeningPoint in interface javax.sip.SipStack
Parameters:
listeningPoint - ListeningPoint
Throws:
javax.sip.ObjectInUseException

deleteSipProvider

public void deleteSipProvider(javax.sip.SipProvider sipProvider)
                       throws javax.sip.ObjectInUseException
deleteSipProvider

Specified by:
deleteSipProvider in interface javax.sip.SipStack
Parameters:
sipProvider - SipProvider
Throws:
javax.sip.ObjectInUseException

getIPAddress

public java.lang.String getIPAddress()
getIPAddress

Specified by:
getIPAddress in interface javax.sip.SipStack
Returns:
String

getListeningPoints

public java.util.Iterator getListeningPoints()
getListeningPoints

Specified by:
getListeningPoints in interface javax.sip.SipStack
Returns:
Iterator

getRouter

public javax.sip.address.Router getRouter()
getRouter

Specified by:
getRouter in interface javax.sip.SipStack
Returns:
Router

getSipProviders

public java.util.Iterator getSipProviders()
getSipProviders

Specified by:
getSipProviders in interface javax.sip.SipStack
Returns:
Iterator

getStackName

public java.lang.String getStackName()
getStackName

Specified by:
getStackName in interface javax.sip.SipStack
Returns:
String

isRetransmissionFilterActive

public boolean isRetransmissionFilterActive()
isRetransmissionFilterActive

Specified by:
isRetransmissionFilterActive in interface javax.sip.SipStack
Returns:
boolean

createListeningPoint

public javax.sip.ListeningPoint createListeningPoint(java.lang.String ipAddress,
                                                     int port,
                                                     java.lang.String transport)
                                              throws javax.sip.TransportNotSupportedException,
                                                     javax.sip.InvalidArgumentException
Specified by:
createListeningPoint in interface javax.sip.SipStack
Throws:
javax.sip.TransportNotSupportedException
javax.sip.InvalidArgumentException

stop

public void stop()
Specified by:
stop in interface javax.sip.SipStack

start

public void start()
           throws javax.sip.ProviderDoesNotExistException,
                  javax.sip.SipException
Specified by:
start in interface javax.sip.SipStack
Throws:
javax.sip.ProviderDoesNotExistException
javax.sip.SipException


Copyright © 2008. All Rights Reserved.