RobotService

public class RobotService extends Service

Fields

MSG_ACCEPT_FRIEND

static final int MSG_ACCEPT_FRIEND

MSG_MESSAGE_ARRIVAL

static final int MSG_MESSAGE_ARRIVAL

MSG_REMOVE_FRIEND

static final int MSG_REMOVE_FRIEND

MSG_REPLY_SESSION_REQUST_AND_START

static final int MSG_REPLY_SESSION_REQUST_AND_START

MSG_REQ_FRIEND_ARRIVAL

static final int MSG_REQ_FRIEND_ARRIVAL

MSG_REQ_ROBOT_ID

static final int MSG_REQ_ROBOT_ID

MSG_RSP_ROBOT_ID

static final int MSG_RSP_ROBOT_ID

MSG_SEND_MESSAGE

static final int MSG_SEND_MESSAGE

MSG_SESSION_CONNECTED

static final int MSG_SESSION_CONNECTED

MSG_SESSION_MANAGER_CLEANUP

static final int MSG_SESSION_MANAGER_CLEANUP

MSG_SESSION_MANAGER_INIT

static final int MSG_SESSION_MANAGER_INIT

MSG_SESSION_MANAGER_INITIALIZED

static final int MSG_SESSION_MANAGER_INITIALIZED

MSG_SESSION_REQUEST_ARRIVAL

static final int MSG_SESSION_REQUEST_ARRIVAL

MSG_TEST

static final int MSG_TEST

Methods

acceptFriend

void acceptFriend(Message msg)

cleanupSessionManager

void cleanupSessionManager(Message msg)

initSessionManager

void initSessionManager(Message msg)

onBind

public IBinder onBind(Intent intent)

onCreate

public void onCreate()

onDestroy

public void onDestroy()

removeFriend

void removeFriend(Message msg)

replyRobotId

void replyRobotId(Message msg)

replySessionRequestAndStart

void replySessionRequestAndStart(Message msg)

sendTestMessage

void sendTestMessage(Message msg)