public class ClientSocketHandler
extends java.lang.Thread
Constructor and Description |
---|
ClientSocketHandler(android.os.Handler handler,
java.net.InetAddress groupOwnerAddress,
android.content.Context ctx) |
Modifier and Type | Method and Description |
---|---|
void |
run()
Start a client that operate on the port (as configured in Configuration.port)
and start a thread to receive/send files
|
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, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public ClientSocketHandler(android.os.Handler handler, java.net.InetAddress groupOwnerAddress, android.content.Context ctx)
handler
- handler of of the packet that are receivedgroupOwnerAddress
- adress of the owner/leader of the wifi direct groupctx
- context