|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Component
Component is an Object that is responsible for any media
data processing.
Examples of components are the audio player, recoder,
DTMF detector, etc. The Component is a supper class for all
media processing components.
| Method Summary | ||
|---|---|---|
void |
addListener(NotificationListener listener)
Registers new notfications listener |
|
Connection |
getConnection()
Reference to the connection to which this component belongs. |
|
Endpoint |
getEndpoint()
Gets the reference to endpoint to which this component belongs |
|
Format |
getFormat()
Gets the format used for communication. |
|
java.lang.String |
getId()
Gets the unique identifier of this component. |
|
|
getInterface(java.lang.Class<T> interfaceType)
This method returns proper interface. |
|
java.lang.String |
getName()
Gets the name of the component. |
|
void |
removeListener(NotificationListener listener)
Unregisters new notfications listener |
|
void |
resetStats()
Resets any transmission stats. |
|
void |
setConnection(Connection connection)
Set reference to the connection to which this component belongs. |
|
void |
setEndpoint(Endpoint endpoint)
Sets reference to the endpoint to which this component belongs. |
|
| Method Detail |
|---|
java.lang.String getId()
java.lang.String getName()
Format getFormat()
Endpoint getEndpoint()
void setEndpoint(Endpoint endpoint)
endpoint - the reference to the endpoint.Connection getConnection()
void setConnection(Connection connection)
connection - the connection instance.void addListener(NotificationListener listener)
listener - the listener object.void removeListener(NotificationListener listener)
listener - the listener object.void resetStats()
<T> T getInterface(java.lang.Class<T> interfaceType)
T - interfaceType -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||