|
Avaya Conferencing Provider API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.avaya.conferencing.api.acp.control.ConferencingProvider
public abstract class ConferencingProvider
Implementations of the ACPI register a subclass of this abstract class with the Java SPI mechanism in order to allow ConferencingProviders to determine which implementation should create the Connection for a specific connection URI.
ConferencingProviders| Constructor Summary | |
|---|---|
ConferencingProvider()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
constant(java.lang.String value)
When the Java compiler compiles classes that reference a String constant in a different class, the Java specifications permit copying the string constant as an optimization in place of referencing the constant, this function returns the string parameter, and by declaring constants indirectly with this function, the Java compiler is forced to reference the string constants as opposed to copying it. |
static java.lang.String |
extractProtocol(java.lang.String connectionURI)
Extracts the protocol part of a connection URI. |
abstract Connection |
getConnection(ConnectionContext context,
java.lang.String connectionURI,
java.lang.String username,
char[] password)
Returns the required connection. |
abstract java.lang.String[] |
getSupportedProtocols()
Returns the protocols supported by this ConferencingProvider. |
boolean |
isProtocolSupported(java.lang.String protocol)
Returns true if the protocol is supported. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConferencingProvider()
| Method Detail |
|---|
public static java.lang.String extractProtocol(java.lang.String connectionURI)
throws java.net.MalformedURLException
connectionURI - The connection URI.
java.net.MalformedURLException - if the URI is malformed.public static java.lang.String constant(java.lang.String value)
value - The string to force run-time binding on.
public abstract Connection getConnection(ConnectionContext context,
java.lang.String connectionURI,
java.lang.String username,
char[] password)
throws java.net.MalformedURLException,
java.io.IOException
connectionURI - The connection URI.username - The username to connect with.password - The password to connect with.
java.net.MalformedURLException - If the URI is malformed or if the protocol is not supported.
java.io.IOException - If there was an IOException trying to establish the connection.public final boolean isProtocolSupported(java.lang.String protocol)
true if the protocol is supported.
protocol - The protocol.
true if the protocol is supported.public abstract java.lang.String[] getSupportedProtocols()
|
Avaya Conferencing Provider API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||