public final class FCIInteraction extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
FCIInteraction.Mode
Supported FCI Interaction modes.
|
Constructor and Description |
---|
FCIInteraction(FCIInteraction.Mode mode)
Create a new FCI Interaction option.
|
FCIInteraction(FCIInteraction.Mode mode,
ServiceRefID nominatedService)
Create a new FCI Interaction option.
|
public FCIInteraction(FCIInteraction.Mode mode)
mode
- FCI Interaction Mode.NullPointerException
- if mode
is null
.IllegalArgumentException
- if mode
== FCIInteraction.Mode.NOMINATED_SERVICE
.
The FCIInteraction(Mode, ServiceRefID)
constructor must be used instead for this mode.public FCIInteraction(FCIInteraction.Mode mode, ServiceRefID nominatedService)
mode
- FCI Interaction Mode.nominatedService
- the nominated service if the mode is FCIInteraction.Mode.NOMINATED_SERVICE
.NullPointerException
- if mode
is null
.IllegalArgumentException
- if mode
== FCIInteraction.Mode.NOMINATED_SERVICE
.
and nominatedService
is null
, or mode
!= FCIInteraction.Mode.NOMINATED_SERVICE
and nominatedService
is not null
.public FCIInteraction.Mode getMode()
public ServiceRefID getNominatedService()