|
JSR-043: JTAPI-1.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public static final int HEAD_SET
public static final int HAND_SET
public static final int SPEAKER_PHONE
public static final int PHONE_SET
public static final int OTHER
Method Detail |
public int getType()
public java.lang.String getDescription()
public Component[] getComponents()
public boolean activate()
public boolean deactivate()
public 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.public 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.public ComponentGroupCapabilities getCapabilities()
ComponentGroup
instance. Static capabilities are not available for component groups.
|
JSR-043: JTAPI-1.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |