Package kr.ac.konkuk.ccslab.cm.thread
Class CMOpenChannelTask
java.lang.Object
kr.ac.konkuk.ccslab.cm.thread.CMOpenChannelTask
- All Implemented Interfaces:
Callable<SelectableChannel>
-
Constructor Summary
ConstructorsConstructorDescriptionCMOpenChannelTask(int nChType, String strServerAddress, int nServerPort, boolean isBlocking, CMInfo cmInfo) -
Method Summary
Modifier and TypeMethodDescriptioncall()intbooleanintgetPort()voidsetAddress(String strAddress) voidsetChannelType(int nChType) voidvoidsetIsBlocking(boolean isBlocking) voidsetPort(int nPort)
-
Constructor Details
-
CMOpenChannelTask
-
-
Method Details
-
call
- Specified by:
callin interfaceCallable<SelectableChannel>
-
setChannelType
public void setChannelType(int nChType) -
getChannelType
public int getChannelType() -
setAddress
-
getAddress
-
setPort
public void setPort(int nPort) -
getPort
public int getPort() -
setIsBlocking
public void setIsBlocking(boolean isBlocking) -
getIsBlocking
public boolean getIsBlocking() -
setCMInfo
-
getCMInfo
-