public class MSRPConfig
extends java.lang.Object
Constructor and Description |
---|
MSRPConfig(long handle)
Constructor storing the pointer/address to the underlying native object
|
Modifier and Type | Method and Description |
---|---|
boolean |
enableMSRP()
Gets the use of MSRP functionality as described in RFC 4975
|
void |
enableMSRP(boolean value)
Sets the use of MSRP functionality as described in RFC 4975
|
boolean |
enableMSRPChat()
Gets the use of MSRP chat functionality for the user
MSRP chat is done through the messaging class and API - Message and sendMessage
All messages are sent over SIP SIMPLE while an MSRP session is not active.
|
void |
enableMSRPChat(boolean value)
Configures the use of MSRP chat functionality for the user
MSRP chat is done through the messaging class and API - Message and sendMessage
All messages are sent over SIP SIMPLE while an MSRP session is not active.
|
boolean |
enableMSRPFileTransfer()
Gets the use of file transfer feature for the user
The default is "disabled".
|
void |
enableMSRPFileTransfer(boolean value)
Configures file transfer feature for the user
The default is "disabled".
|
protected void |
finalize()
Ensures the underlying native object destruction
|
long |
handle()
Gets the pointer/address to the underlying native object
|
boolean |
isEqual(MSRPConfig comp)
Compares the current configuration with the given one
|
java.lang.String |
msrpRelayPassword()
Gets the configures MSRP relay password for the user
Configures the password to be used when authenticating to a MSRP relay.
|
void |
msrpRelayPassword(java.lang.String value)
Configures MSRP relay password for the user
Configures the password to be used when authenticating to a MSRP relay.
|
java.lang.String |
msrpRelayURL()
Gets the configured MSRP relay URI
The use of MSRP relay must be enabled through useMSRPRelay.
|
void |
msrpRelayURL(java.lang.String value)
Configures the MSRP relay URI
The use of MSRP relay must be enabled through useMSRPRelay.
|
java.lang.String |
msrpRelayUserName()
Gets the configured MSRP relay authentication username for the user
Configures the authentication username to be used when authenticating to a MSRP relay.
|
void |
msrpRelayUserName(java.lang.String value)
Configures MSRP relay authentication username for the user
Configures the authentication username to be used when authenticating to a MSRP relay.
|
int |
msrpTcpPort()
Gets the configured main MSRP TCP port
Configures the main TCP port for MSRP.
|
void |
msrpTcpPort(int value)
Configures the main MSRP TCP port
Configures the main TCP port for MSRP.
|
boolean |
useMSRPRelay()
Gets the use of MSRP relay functionality as described in RFC 4976
Routes all MSRP requests through the MSRP relay configured with msrpRelayURL.
|
void |
useMSRPRelay(boolean value)
Configures the use of MSRP relay functionality as described in RFC 4976
Routes all MSRP requests through the MSRP relay configured with msrpRelayURL.
|
public MSRPConfig(long handle)
handle
- Pointer/address to the underlying native objectpublic long handle()
protected void finalize()
finalize
in class java.lang.Object
public boolean enableMSRP()
public void enableMSRP(boolean value)
value
- public boolean enableMSRPChat()
sendMessage
public void enableMSRPChat(boolean value)
value
- sendMessage
public boolean enableMSRPFileTransfer()
initiateTransfer
public void enableMSRPFileTransfer(boolean value)
value
- initiateTransfer
public boolean useMSRPRelay()
msrpRelayURL
public void useMSRPRelay(boolean value)
value
- msrpRelayURL
public java.lang.String msrpRelayURL()
msrpRelayUserName msrpRelayPassword
public void msrpRelayURL(java.lang.String value)
value
- MSRP relay URImsrpRelayUserName msrpRelayPassword
public java.lang.String msrpRelayUserName()
msrpRelayPassword
public void msrpRelayUserName(java.lang.String value)
value
- The MSRP relay authentication usernamemsrpRelayPassword
public java.lang.String msrpRelayPassword()
msrpRelayUserName
public void msrpRelayPassword(java.lang.String value)
value
- The MSRP relay passwordmsrpRelayUserName
public int msrpTcpPort()
public void msrpTcpPort(int value)
value
- The MSRP TCP portpublic boolean isEqual(MSRPConfig comp)
comp
- SIP configuration to be compared