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 ExecutorServiceexecutorCleanerstatic ExecutorServiceexecutorSocket
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAddr()static RecieverSocketgetInstance()intgetPort()static ThreadgetSelf()static voidsetSelf(Thread self)voidstart(int port)voidstop()
-
-
-
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()
-
-