| java.lang.Object gov.nist.microedition.sip.SipConnectionNotifierImpl
sharedMode | boolean sharedMode(Code) | | Indicates whether this SipConnectionNotifier is opened in shared mode
or not
|
SipConnectionNotifierImpl | protected SipConnectionNotifierImpl(SipProvider sipProvider, String localAddress, int localPort, SecurityToken classSecurityToken, String mimeType, boolean sharedMode)(Code) | | Constructor called by the Connector.open() method
Parameters: sipProvider - the network service provider Parameters: localAddress - the local connection end point Parameters: localPort - the port number on which the listener will wait forincoming messages Parameters: classSecurityToken - Security Token from SIP/SIPS protocol class Parameters: mimeType - MIMEtype associated with SipConnectionNotifier; used for filtering incomming SIP packets; null if not available Parameters: sharedMode - Flag to indicate that SipConnectionNotifier is inshared Mode throws: IOException - if an I/OO error is detected |
getLocalAddress | public String getLocalAddress() throws IOException(Code) | | Gets the local IP address for this SIP connection.
local IP address. Returns null if the address is not available. throws: IOException - - if the connection was closed |
getLocalPort | public int getLocalPort() throws IOException(Code) | | Gets the local port for this SIP connection.
local port number, that the notifier is listening to.Returns 0 if the port is not available. throws: IOException - - if the connection was closed |
getMIMEType | protected String getMIMEType()(Code) | | Get the MIME type for this SipConnectionNotifier
MIMEtype of the SipConnectionNotifier |
getSipProvider | protected SipProvider getSipProvider()(Code) | | Gets the sip provider.
the sip provider |
getStackConnector | protected StackConnector getStackConnector()(Code) | | Gets the current stack connector.
the current stack connector |
isConnectionOpen | protected boolean isConnectionOpen()(Code) | | Gets the connection state.
true when connection is opened |
notifyRequestReceived | protected void notifyRequestReceived(Request request)(Code) | | The stack connector notifies this class when it receive a new request
Parameters: request - - the new received request |
setListener | public void setListener(SipServerConnectionListener sscl) throws IOException(Code) | | Sets a listener for incoming SIP requests. If a listener is
already set it
will be overwritten. Setting listener to null will remove the current
listener.
Parameters: sscl - listener for incoming SIP requests throws: IOException - if the connection was closed |
|
|