org.tinygroup.channel.impl
public abstract class AbstractChannel extends Object implements ChannelInterface
TYPE_LOCAL, TYPE_REMOTE| Constructor and 描述 |
|---|
AbstractChannel() |
| Modifier and Type | Method and 描述 |
|---|---|
void |
addReceiveEventFilter(EventFilter eventFilter)
添加接收事件过滤器
|
void |
addReceiveEventListener(EventListener eventListener)
添加接收事件监听器
|
void |
addSendEventFilter(EventFilter eventFilter)
添加发送事件过滤器
|
void |
addSendEventListener(EventListener eventListener)
添加发送事件监听器
|
CEPCore |
getCepCore() |
String |
getId() |
List<EventFilter> |
getReceiveEventFilters() |
List<EventListener> |
getReceiveEventListeners() |
List<EventFilter> |
getSendEventFilters() |
List<EventListener> |
getSendEventListeners() |
void |
process(org.tinygroup.event.Event event)
通道去处理一个事件
|
protected abstract void |
receive(org.tinygroup.event.Event event) |
void |
sendEvent(org.tinygroup.event.Event event)
发送事件
|
void |
setCepCore(CEPCore cepCore) |
void |
setId(String id) |
void |
start()
开始通道
|
void |
stop()
通道停止
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRegex, getServiceInfos, getType, getWeight, isRead, setReadpublic CEPCore getCepCore()
public void setCepCore(CEPCore cepCore)
setCepCore 接口 {1} 中的 {0} EventProcessorpublic String getId()
getId 接口 {1} 中的 {0} EventProcessorgetId 接口 {1} 中的 {0} ChannelInterfacepublic void setId(String id)
public List<EventFilter> getSendEventFilters()
public List<EventFilter> getReceiveEventFilters()
public List<EventListener> getSendEventListeners()
public List<EventListener> getReceiveEventListeners()
public void addSendEventListener(EventListener eventListener)
ChannelInterfaceaddSendEventListener 接口 {1} 中的 {0} ChannelInterfacepublic void addReceiveEventListener(EventListener eventListener)
ChannelInterfaceaddReceiveEventListener 接口 {1} 中的 {0} ChannelInterfacepublic void addSendEventFilter(EventFilter eventFilter)
ChannelInterfaceaddSendEventFilter 接口 {1} 中的 {0} ChannelInterfacepublic void addReceiveEventFilter(EventFilter eventFilter)
ChannelInterfaceaddReceiveEventFilter 接口 {1} 中的 {0} ChannelInterfacepublic void sendEvent(org.tinygroup.event.Event event)
ChannelInterfacesendEvent 接口 {1} 中的 {0} ChannelInterfacepublic void process(org.tinygroup.event.Event event)
process 接口 {1} 中的 {0} EventProcessorprotected abstract void receive(org.tinygroup.event.Event event)
public void start()
ChannelInterfacestart 接口 {1} 中的 {0} ChannelInterfacepublic void stop()
ChannelInterfacestop 接口 {1} 中的 {0} ChannelInterfaceCopyright © 2006–2015 TinyGroup. All rights reserved.