Class CMServer

java.lang.Object
kr.ac.konkuk.ccslab.cm.entity.CMServerInfo
kr.ac.konkuk.ccslab.cm.entity.CMServer

public class CMServer extends CMServerInfo
  • Constructor Details

    • CMServer

      public CMServer()
    • CMServer

      public CMServer(String sname, String saddr, int nPort, int nUDPPort)
  • Method Details

    • getNonBlockSocketChannelInfo

      public CMChannelInfo<Integer> getNonBlockSocketChannelInfo()
    • getBlockSocketChannelInfo

      public CMChannelInfo<Integer> getBlockSocketChannelInfo()
    • setLastEventTransTime

      public void setLastEventTransTime(long lTime)
    • getLastEventTransTime

      public long getLastEventTransTime()
    • setKeepAliveTime

      public void setKeepAliveTime(int nSecond)
    • getKeepAliveTime

      public int getKeepAliveTime()
    • setCurrentSessionName

      public void setCurrentSessionName(String name)
    • getCurrentSessionName

      public String getCurrentSessionName()
    • setCurrentGroupName

      public void setCurrentGroupName(String name)
    • getCurrentGroupName

      public String getCurrentGroupName()
    • setClientState

      public void setClientState(int state)
    • getClientState

      public int getClientState()
    • setCommArch

      public void setCommArch(String ca)
    • getCommArch

      public String getCommArch()
    • setLoginScheme

      public void setLoginScheme(boolean bLogin)
    • isLoginScheme

      public boolean isLoginScheme()
    • setSessionScheme

      public void setSessionScheme(boolean bSession)
    • isSessionScheme

      public boolean isSessionScheme()
    • getSessionNum

      public int getSessionNum()
    • isMember

      public boolean isMember(String strSessionName)
    • addSession

      public boolean addSession(CMSession session)
    • removeSession

      public boolean removeSession(String strSessionName)
    • findSession

      public CMSession findSession(String strSessionName)
    • getSessionList

      public Vector<CMSession> getSessionList()