|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface defines the methods required to represent a proprietary
JAIN SIP protocol stack, the implementation of which will be vendor specific.
Each vendor's protocol stack will have an object
that implements this interface to control the creation/deletion of proprietary
JainSipProviders .
It must be noted that under the JAIN Naming Convention the lower-level package structure and classname of a proprietary implementation of the jain.protocol.ip.sip.JainSipStack interface must be jain.protocol.ip.sip.JainSipStackImpl.
Under the JAIN naming convention, the upper-level package structure (pathname) can be used to differentiate between proprietary implementations from different IP Vendors. The pathname used by each IP Vendor must be the domain name assigned to the Vendor in reverse order, e.g. Sun Microsystem's would be 'com.sun'
It follows that a proprietary implementation of a JainSipStack will be located
at:
pathname.jain.protocol.ip.sip.JainSipStackImpl
Where:
pathname = reverse domain name, e.g. com.sun'
The resulting Peer JAIN IP Object would be located at: com.sun.jain.protocol.ip.sip.JainSipStackImpl
An application may create a JainSipStackImpl by invoking the
JainIPFactory.createJainIPObject()
method. The PathName of the vendor specific implementation of which you want to
instantiate can be set before calling this method or the default or current pathname may be used.
For applications that require some means to identify multiple stacks
setStackName() can be used. An application can choose to supply any identifier to this method.
JainSipProvider| Method Summary | |
JainSipProvider |
createProvider(ListeningPoint listeningPoint)
Creates a new Peer (vendor specific) JainSipProvider
that is attached to this JainSipStack on a specified ListeningPoint and returns a reference to it. |
void |
deleteProvider(JainSipProvider providerToBeDeleted)
Deletes the specified Peer JAIN SIP Provider attached to this JainSipStack. |
ListeningPoint[] |
getListeningPoints()
Returns an array of ListeningPoints available to this stack |
JainSipProvider[] |
getProviders()
Returns an array of existing Peer JAIN SIP Providers that have been created by this JainSipStackImpl. |
java.lang.String |
getStackName()
Gets the name of this JainSipStack instance. |
void |
setStackName(java.lang.String stackName)
Sets the name of this JainSipStack instance. |
| Method Detail |
public ListeningPoint[] getListeningPoints()
throws ListeningPointUnavailableException
public JainSipProvider createProvider(ListeningPoint listeningPoint)
throws IPPeerUnavailableException,
ListeningPointUnavailableException,
java.lang.IllegalArgumentException
JainSipProvider
that is attached to this JainSipStack on a specified ListeningPoint and returns a reference to it.
Note to developers: The implementation of this method should add
the newly created JainSipProvider to the
providerList once the JainSipProvider
has been successfully created.listeningPoint - the ListeningPoint the Provider is to be attached to
public void deleteProvider(JainSipProvider providerToBeDeleted)
throws UnableToDeleteProviderException,
java.lang.IllegalArgumentException
providerToBeDeleted - the Peer JAIN SIP Provider to be deleted from this JainSipStack.
public JainSipProvider[] getProviders()
throws SipException
public java.lang.String getStackName()
public void setStackName(java.lang.String stackName)
throws java.lang.IllegalArgumentException
stackName/var> - the stack name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright - 2000 Sun Microsystems