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()
int
boolean
int
getPort()
void
setAddress
(String strAddress) void
setChannelType
(int nChType) void
void
setIsBlocking
(boolean isBlocking) void
setPort
(int nPort)
-
Constructor Details
-
CMOpenChannelTask
-
-
Method Details
-
call
- Specified by:
call
in 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
-