public class ServerEventFactory extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
APPLICATION_CLEAREVENTKEYS |
static String |
APPLICATION_GETALLREGISTEREVENT |
static String |
APPLICATION_GETREGISTEREVENTBYCODE |
static String |
APPLICATION_REGISTEREVENT |
static String |
APPLICATION_REGISTERJSONEVENT |
static String |
APPLICATION_REMOVEENENT |
static String |
THREAD_LOCK |
static Integer |
udpEventPort |
| 构造器和说明 |
|---|
ServerEventFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clearEvent() |
Set<ExpressionTempBean> |
getAllRegisterEvent() |
static ServerEventFactory |
getInstance() |
List<? extends ServiceBean> |
getLocalRegisterEvent() |
List<ExpressionTempBean> |
getRegisterEventByCode(String sysCode) |
ServiceBean |
getServiceBeanById(String serviceId) |
void |
initEvent(User user) |
void |
registerEvent(List<? extends ServiceBean> msgEvent) |
void |
registerJSONEvent(List<? extends ServiceBean> msgEvent) |
void |
removeEvent(String serviceKey) |
public static Integer udpEventPort
public static final String APPLICATION_GETALLREGISTEREVENT
public static ServerEventFactory getInstance()
public void initEvent(User user) throws JDSException
JDSExceptionpublic ServiceBean getServiceBeanById(String serviceId)
public void clearEvent()
throws JDSException
JDSExceptionpublic void removeEvent(String serviceKey) throws JDSException
JDSExceptionpublic void registerJSONEvent(List<? extends ServiceBean> msgEvent) throws JDSException, IOException
public void registerEvent(List<? extends ServiceBean> msgEvent) throws JDSException
JDSExceptionpublic List<? extends ServiceBean> getLocalRegisterEvent()
public Set<ExpressionTempBean> getAllRegisterEvent()
public List<ExpressionTempBean> getRegisterEventByCode(String sysCode)
Copyright © 2023 onecode. All rights reserved.