|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ComponentGroup
A ComponentGroup is a grouping of Component objects. Terminals may be composed of zero or more ComponentGroups. Applications query the PhoneTerminal interface for the available ComponentGroups. Then they query this interface for the components which make up this component group.
| Field Summary | |
|---|---|
static int |
HAND_SET
The component group is of type HAND_SET. |
static int |
HEAD_SET
The component group is of type HEAD_SET. |
static int |
OTHER
The component group is of type OTHER. |
static int |
PHONE_SET
The componet group is of type PHONE_SET. |
static int |
SPEAKER_PHONE
The component group is of type SPEAKER_PHONE. |
| Method Summary | |
|---|---|
boolean |
activate()
Enables all routing of events or media stream between all Components of this group and calls on any of the Addresses asociated with the parent Terminal. |
boolean |
activate(Address address)
Enables all routing of events or media stream between all Components of this group and calls to the specified Address. |
boolean |
deactivate()
Disables all routing of events or media stream between all Components of this group and calls on any of the Addresses associated with the parent Terminal. |
boolean |
deactivate(Address address)
Disables all routing of events or media stream between all Components of this group and the specified Address. |
ComponentGroupCapabilities |
getCapabilities()
Returns the dynamic capabilities for this ComponentGroup
instance. |
Component[] |
getComponents()
Returns the groups components, null if the group contains zero components. |
java.lang.String |
getDescription()
Returns a string describing the component group. |
int |
getType()
Returns the type of group, either HEAD_SET, HAND_SET, SPEAKER_PHONE, PHONE_SET or OTHER. |
| Field Detail |
|---|
static final int HEAD_SET
static final int HAND_SET
static final int SPEAKER_PHONE
static final int PHONE_SET
static final int OTHER
| Method Detail |
|---|
int getType()
java.lang.String getDescription()
Component[] getComponents()
boolean activate()
boolean deactivate()
boolean activate(Address address)
throws InvalidArgumentException
address - The Address that the group is to be activated on.
InvalidArgumentException - The provided Address is not valid
for the Terminal.
boolean deactivate(Address address)
throws InvalidArgumentException
address - The Address that the group is to be deactivated on.
InvalidArgumentException - The provided Address is not valid
for the Terminal.ComponentGroupCapabilities getCapabilities()
ComponentGroup
instance. Static capabilities are not available for component groups.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||