Package | Description |
---|---|
org.voovan.network |
Modifier and Type | Method and Description |
---|---|
Event.EventName |
Event.getName() |
static Event.EventName |
Event.EventName.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Event.EventName[] |
Event.EventName.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
EventTrigger.fire(IoSession session,
Event.EventName name,
Object other)
事件触发
根据事件启动 EventThread 来处理事件
|
static void |
EventTrigger.fireEvent(IoSession session,
Event.EventName name,
Object other)
事件触发
根据事件启动 EventThread 来处理事件
|
static Event |
Event.getInstance(IoSession session,
Event.EventName name,
Object other)
活的新的实例
|
void |
Event.init(IoSession session,
Event.EventName name,
Object other)
构造函数
|
void |
Event.setName(Event.EventName name) |
Constructor and Description |
---|
Event(IoSession session,
Event.EventName name,
Object other)
构造函数
|
Copyright © 2020 Voovan. All rights reserved.