Class RecieverSocket
- java.lang.Object
-
- com.h2tcoin.takamakachain.utils.directConnect.RecieverSocket
-
public class RecieverSocket extends Object
- Author:
- giovanni.antino@h2tcoin.com
-
-
Field Summary
Fields Modifier and Type Field Description static ExecutorService
executorCleaner
static ExecutorService
executorSocket
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAddr()
static RecieverSocket
getInstance()
int
getPort()
static Thread
getSelf()
static void
setSelf(Thread self)
void
start(int port)
void
stop()
-
-
-
Field Detail
-
executorCleaner
public static ExecutorService executorCleaner
-
executorSocket
public static ExecutorService executorSocket
-
-
Method Detail
-
getSelf
public static Thread getSelf()
-
setSelf
public static void setSelf(Thread self)
-
getPort
public int getPort()
-
getAddr
public String getAddr()
-
getInstance
public static RecieverSocket getInstance()
-
start
public void start(int port)
-
stop
public void stop()
-
-