|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Endpoint
The basic implementation of the endpoint. An Endpoint is a logical representation of a physical entity, such as an analog phone or a channel in a trunk. Endpoints are sources or sinks of data and can be physical or virtual. Physical endpoint creation requires hardware installation while software is sufficient for creating a virtual Endpoint. An interface on a gateway that terminates a trunk connected to a PSTN switch is an example of a physical Endpoint. An audio source in an audio-content server is an example of a virtual Endpoint.
| Method Summary | |
|---|---|
Connection |
createConnection(ConnectionType type)
Creates new connection with specified mode. |
void |
deleteAllConnections()
Deletes all connection associated with this Endpoint. |
void |
deleteConnection(Connection connection)
Deletes specified connection. |
String |
describe(MediaType mediaType)
Generates media description for the specified media type. |
String |
getLocalName()
Gets the local name attribute. |
Collection<MediaType> |
getMediaTypes()
Gets the list of supported media types. |
Component |
getResource(MediaType mediaType,
Class intf)
Provides access to the specific resource of the endpoint. |
EndpointState |
getState()
Gets the current state of the endpoint |
void |
setDspFactory(DspFactory dspFactory)
|
void |
start()
Starts endpoint. |
void |
stop()
Terminates endpoint's execution. |
| Method Detail |
|---|
String getLocalName()
EndpointState getState()
Collection<MediaType> getMediaTypes()
void start()
throws ResourceUnavailableException
ResourceUnavailableExceptionvoid stop()
Connection createConnection(ConnectionType type)
throws TooManyConnectionsException,
ResourceUnavailableException
type - transport type
TooManyConnectionsException
ResourceUnavailableExceptionvoid deleteConnection(Connection connection)
connection - the connection to be deleted.void deleteAllConnections()
String describe(MediaType mediaType)
throws ResourceUnavailableException
mediaType - the media type for which descriptor is requested.
ResourceUnavailableExceptionvoid setDspFactory(DspFactory dspFactory)
Component getResource(MediaType mediaType,
Class intf)
intf - the interface of the requested resource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||