com.greenthrottle.gcs.api
Class ServiceStatusEvent

java.lang.Object
  extended by com.greenthrottle.gcs.api.ServiceStatusEvent

public class ServiceStatusEvent
extends java.lang.Object


Nested Class Summary
static class ServiceStatusEvent.StatusCode
           
 
Field Summary
static  CREATOR
           
 
Method Summary
 ServiceStatusEvent.StatusCode code()
           
 int describeContents()
           
 java.lang.String encodedData()
           
static ServiceStatusEvent make_controller_connect_attempt(java.lang.String bt_address)
           
static ServiceStatusEvent make_controller_connect_failed(java.lang.String bt_address)
           
static ServiceStatusEvent make_controller_connected(java.lang.String bt_address)
           
static ServiceStatusEvent make_controller_disconnected(java.lang.String bt_address)
           
static ServiceStatusEvent make_controller_discovered(java.lang.String bt_address, java.lang.String controller_type)
           
static ServiceStatusEvent make_controller_version(java.lang.String bt_address, java.lang.String version)
           
static ServiceStatusEvent make_debug_event(ServiceStatusEvent.StatusCode c)
           
static ServiceStatusEvent make_discoveryscan_ended()
           
static ServiceStatusEvent make_discoveryscan_started()
           
static ServiceStatusEvent make_query_result_binding_pair(java.lang.String bt_address, java.lang.String binding_name)
           
static ServiceStatusEvent make_query_result_broken_binding_pair(java.lang.String bt_address, java.lang.String binding_name)
           
static ServiceStatusEvent make_query_result_num_controllers_connected(int value)
           
 ServiceStatusEvent setCode(ServiceStatusEvent.StatusCode c)
           
 ServiceStatusEvent setEncodedData(java.lang.String s)
           
 void writeToParcel(Parcel out, int arg1)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CREATOR

public static final  CREATOR
Method Detail

code

public ServiceStatusEvent.StatusCode code()

encodedData

public java.lang.String encodedData()

describeContents

public int describeContents()

writeToParcel

public void writeToParcel(Parcel out,
                          int arg1)

setCode

public ServiceStatusEvent setCode(ServiceStatusEvent.StatusCode c)

setEncodedData

public ServiceStatusEvent setEncodedData(java.lang.String s)

make_controller_discovered

public static ServiceStatusEvent make_controller_discovered(java.lang.String bt_address,
                                                            java.lang.String controller_type)

make_controller_connected

public static ServiceStatusEvent make_controller_connected(java.lang.String bt_address)

make_controller_version

public static ServiceStatusEvent make_controller_version(java.lang.String bt_address,
                                                         java.lang.String version)

make_controller_connect_attempt

public static ServiceStatusEvent make_controller_connect_attempt(java.lang.String bt_address)

make_controller_connect_failed

public static ServiceStatusEvent make_controller_connect_failed(java.lang.String bt_address)

make_controller_disconnected

public static ServiceStatusEvent make_controller_disconnected(java.lang.String bt_address)

make_discoveryscan_started

public static ServiceStatusEvent make_discoveryscan_started()

make_discoveryscan_ended

public static ServiceStatusEvent make_discoveryscan_ended()

make_query_result_num_controllers_connected

public static ServiceStatusEvent make_query_result_num_controllers_connected(int value)

make_query_result_binding_pair

public static ServiceStatusEvent make_query_result_binding_pair(java.lang.String bt_address,
                                                                java.lang.String binding_name)

make_query_result_broken_binding_pair

public static ServiceStatusEvent make_query_result_broken_binding_pair(java.lang.String bt_address,
                                                                       java.lang.String binding_name)

make_debug_event

public static ServiceStatusEvent make_debug_event(ServiceStatusEvent.StatusCode c)