public interface ActivityLifeCycle extends CommunicationLifeCycle
Connection
.
The 4 kind of objects (Filter
, Query
, Subscription
and Transaction
) that implement this interface:
makeSomething
methods of their
Context
,
CommunicationLifeCycle
Modifier and Type | Field and Description |
---|---|
static int |
RESULT_INVALID_CONNECTION_STATUS
Failure-code returned when an operation is requested whitin a not correct
status of the
associated Connection.
|
RESULT_GENERIC_ERROR, RESULT_INVALID_STATUS, RESULT_OK, STATUS_INIT, STATUS_RELEASED
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection()
Returns the associated Connection.
|
getContext, getListener, getParam
enumChilds, getStatus, release
static final int RESULT_INVALID_CONNECTION_STATUS
Typically an ActivityLifeCycle objects returns this failure-code when the
associated Connection is not in the Connection.STATUS_CONNECTED
status.
Connection getConnection()
Each ActivityLifeCycle object has a Connection that created it (e.g. for
a Subscription
the associated Connection is the first parameter
of Context.makeSubscription()
).
This method return this Connection.
null
is never returned.Submit a bug or feature to FT\API Programming Support