CommandStatusHandler
public
class
CommandStatusHandler
extends Object
implements
ICommandScheduler.IScheduledInvocationListener
| java.lang.Object | |
| ↳ | com.android.tradefed.service.management.CommandStatusHandler |
यह हैंडलर, किसी कॉल के स्टेटस की निगरानी करने और उसे अपडेट करने में मदद करता है.
खास जानकारी
सार्वजनिक कंस्ट्रक्टर | |
|---|---|
CommandStatusHandler()
|
|
पब्लिक मेथड | |
|---|---|
InvocationStatus.Status
|
getCurrentStatus()
कॉल के मौजूदा स्टेटस की जानकारी देता है. |
void
|
invocationComplete(IInvocationContext context, Map<ITestDevice, FreeDeviceState> devicesStates)
यह कॉलबैक तब ट्रिगर होता है, जब पूरा कॉल खत्म हो जाता है. इसमें |
void
|
invocationInitiated(IInvocationContext context)
यह कॉलबैक तब ट्रिगर होता है, जब कोई कॉल शुरू किया जाता है. |
सार्वजनिक कंस्ट्रक्टर
CommandStatusHandler
public CommandStatusHandler ()
पब्लिक मेथड
getCurrentStatus
public InvocationStatus.Status getCurrentStatus ()
कॉल के मौजूदा स्टेटस की जानकारी देता है.
| रिटर्न | |
|---|---|
InvocationStatus.Status |
|
invocationComplete
public void invocationComplete (IInvocationContext context, Map<ITestDevice, FreeDeviceState> devicesStates)
यह कॉलबैक तब ट्रिगर होता है, जब पूरा कॉल खत्म हो जाता है. इसमें ITestInvocationListener.invocationEnded(long) के सभी इवेंट शामिल होते हैं.
invocationInitiated
public void invocationInitiated (IInvocationContext context)
यह कॉलबैक तब ट्रिगर होता है, जब कोई कॉल शुरू किया जाता है. यह कॉलबैक, बिल्ड फ़ेच किए जाने से पहले ट्रिगर होता है.