com.aspire.nm.component.cmppserver
类 CmppServer

java.lang.Object
  继承者 com.aspire.nm.component.cmppserver.CmppServer
所有已实现的接口:
org.springframework.beans.factory.InitializingBean

public class CmppServer
extends Object
implements org.springframework.beans.factory.InitializingBean


构造方法摘要
CmppServer()
           
 
方法摘要
 void addBlackIps(List<String> blackIps)
          增加全局黑名单
 CmppServer addClientConfig(ClientConfig clientConfig)
           
 void afterPropertiesSet()
           
 ProcessSubmit getProcessSubmit()
           
 String getRunTimeInfo()
          获取CmppServer运行信息
 UserRunTime getUserRunTime(String user)
          获取userRunTime
 void removeClientConfig(String user)
          删除用户接入
 void setProcessSubmit(ProcessSubmit processSubmit)
           
 void start()
           
 void stop()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

CmppServer

public CmppServer()
方法详细信息

getProcessSubmit

public ProcessSubmit getProcessSubmit()

setProcessSubmit

public void setProcessSubmit(ProcessSubmit processSubmit)

afterPropertiesSet

public void afterPropertiesSet()
                        throws InstantiationException,
                               IllegalAccessException,
                               ClassNotFoundException,
                               IOException
指定者:
接口 org.springframework.beans.factory.InitializingBean 中的 afterPropertiesSet
抛出:
InstantiationException
IllegalAccessException
ClassNotFoundException
IOException

start

public void start()
           throws IOException
抛出:
IOException

stop

public void stop()
          throws IOException
抛出:
IOException

addBlackIps

public void addBlackIps(List<String> blackIps)
                 throws UnknownHostException
增加全局黑名单

参数:
blackIps -
抛出:
UnknownHostException

getRunTimeInfo

public String getRunTimeInfo()
获取CmppServer运行信息

返回:

addClientConfig

public CmppServer addClientConfig(ClientConfig clientConfig)
                           throws UnknownHostException,
                                  InstantiationException,
                                  IllegalAccessException,
                                  ClassNotFoundException
参数:
clientConfig - 接入用户的配置信息
返回:
抛出:
UnknownHostException
ClassNotFoundException
IllegalAccessException
InstantiationException

removeClientConfig

public void removeClientConfig(String user)
删除用户接入

参数:
user -

getUserRunTime

public UserRunTime getUserRunTime(String user)
获取userRunTime

参数:
user -
返回:


Copyright © 2016. All rights reserved.