public abstract class SocketConnectionThread
extends java.lang.Thread
| Modifier and Type | Method and Description |
|---|---|
static SocketConnectionThread |
clientConnect(int port,
WearableConnection.Listener listener) |
abstract void |
close() |
SocketWearableConnection |
getWearableConnection() |
static SocketConnectionThread |
serverListen(int port,
WearableConnection.Listener listener) |
protected void |
setWearableConnection(SocketWearableConnection wearableConnection) |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldprotected void setWearableConnection(SocketWearableConnection wearableConnection)
public SocketWearableConnection getWearableConnection()
public abstract void close()
public static SocketConnectionThread serverListen(int port, WearableConnection.Listener listener)
public static SocketConnectionThread clientConnect(int port, WearableConnection.Listener listener)