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, devicesStates)

सभी ITestInvocationListener.invocationEnded(long) इवेंट के साथ-साथ, पूरे इनवोकेशन के पूरा होने पर कॉलबैक.

void invocationInitiated(IInvocationContext context)

जब कोई अनुरोध शुरू किया जाता है, तब कॉलबैक.

पब्लिक कंस्ट्रक्टर

CommandStatusHandler

public CommandStatusHandler ()

सार्वजनिक तरीके

getCurrentStatus

public InvocationStatus.Status getCurrentStatus ()

यह फ़ंक्शन, कॉल करने की मौजूदा स्थिति दिखाता है.

रिटर्न
InvocationStatus.Status

invocationComplete

public void invocationComplete (IInvocationContext context, 
                 devicesStates)

सभी ITestInvocationListener.invocationEnded(long) इवेंट के साथ-साथ, पूरे इनवोकेशन के पूरा होने पर कॉलबैक.

invocationInitiated

public void invocationInitiated (IInvocationContext context)

जब कोई अनुरोध शुरू किया जाता है, तब कॉलबैक. किसी भी बिल्ड को फ़ेच करने से पहले, इसे कॉल किया जाता है.