|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvoicexml.client.BasicConnectionInformation
public class BasicConnectionInformation
Basic connection configuration.
This implementation is designed to transfer the minimum of the needed information from the client to the JVoiceXml server. It may be extended by custom implementations to transfer other client settings that is needed by custom implementation platforms.
| Constructor Summary | |
|---|---|
BasicConnectionInformation(String call,
String output,
String input)
Constructs a new object. |
|
| Method Summary | |
|---|---|
protected void |
addToString(StringBuilder str)
Subclass specific additions to the toString() method. |
String |
getCallControl()
Retrieves a unique identifier for the CallControl to use. |
URI |
getCalledDevice()
Retrieves the URI of the caller device. |
URI |
getCallingDevice()
Retrieves the URI of the calling device. |
String |
getProtocolName()
Retrieves the name of the connection protocol. |
String |
getProtocolVersion()
Retrieves the version of the connection protocol. |
String |
getSystemOutput()
Retrieves a unique identifier for the SystemOutput to use. |
String |
getUserInput()
Retrieves a unique identifier for the UserInput to use. |
void |
setCalledDevice(URI device)
Sets the called device. |
void |
setCallingDevice(URI device)
Sets the calling device. |
void |
setProtocolName(String name)
Sets the protocol name. |
void |
setProtocolVersion(String version)
Sets the protocol version. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BasicConnectionInformation(String call,
String output,
String input)
call - unique identifier for the CallControl.output - unique identifier for the
SystemOutput.input - unique identifier for the UserInput.| Method Detail |
|---|
public final String getCallControl()
CallControl to use.
getCallControl in interface ConnectionInformationCallControl, or null
if the default resource should be used.public final String getSystemOutput()
SystemOutput to use.
getSystemOutput in interface ConnectionInformationSystemOutput, or null
if the default resource should be used.public final String getUserInput()
UserInput to use.
getUserInput in interface ConnectionInformationUserInput, or null
if the default resource should be used.public final URI getCalledDevice()
getCalledDevice in interface ConnectionInformationpublic final void setCalledDevice(URI device)
device - the called device to setpublic final URI getCallingDevice()
getCallingDevice in interface ConnectionInformationpublic final void setCallingDevice(URI device)
device - the calling device to setpublic final String getProtocolName()
The returned URI should be a URL for telephone calls as specified in IETF RFC 2806.
getProtocolName in interface ConnectionInformationpublic final void setProtocolName(String name)
name - the protocol name to setpublic final String getProtocolVersion()
getProtocolVersion in interface ConnectionInformationThe returned URI should be a URL for telephone calls as specified in IETF RFC 2806.
public final void setProtocolVersion(String version)
version - the protocol version to setprotected void addToString(StringBuilder str)
toString() method. Subclasses are
requested to add their member variables in the following form
,<value>.
str - StringBuilder to add topublic final String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||