Apache Wicket 8.x Reference GuideInterface IEventSink exposes callback method onEvent(IEvent> event) which is triggered when a 199 sink receives an event. The interface IEvent represents the received event and provides getter methods the received event is used checking the type of its payload object: @Override public void onEvent(IEvent event) { //if the type of payload is MyPayloadClass perform some actions if(event.getPayload()0 码力 | 350 页 | 9.95 MB | 1 年前3
Apache Wicket 7.x Reference Guideorder. Interface IEventSink exposes callback method onEvent(IEvent> event) which is triggered when a sink receives an event. The interface IEvent represents the received event and provides getter methods the received event is used checking the type of its payload object: @Override public void onEvent(IEvent event) { //if the type of payload is MyPayloadClass perform some actions if(event.getPayload()0 码力 | 346 页 | 10.00 MB | 1 年前3
Apache Wicket 10.x Reference Guideorder. Interface IEventSink exposes callback method onEvent(IEvent> event) which is triggered when a sink receives an event. The interface IEvent represents the received event and provides getter methods the received event is used checking the type of its payload object: @Override public void onEvent(IEvent event) { //if the type of payload is MyPayloadClass perform some actions if(event.getPayload()0 码力 | 336 页 | 7.16 MB | 1 年前3
Apache Wicket 9.x Reference Guideorder. Interface IEventSink exposes callback method onEvent(IEvent> event) which is triggered when a sink receives an event. The interface IEvent represents the received event and provides getter methods the received event is used checking the type of its payload object: @Override public void onEvent(IEvent event) { //if the type of payload is MyPayloadClass perform some actions if(event.getPayload()0 码力 | 335 页 | 7.15 MB | 1 年前3
Nacos架构&原理
Subscribe(serviceName, listener); internal class EventListener : IEventListener { public Task OnEvent(IEvent @event) { Console.WriteLine(JsonConvert.SerializeObject(@event)); return Task.CompletedTask;0 码力 | 326 页 | 12.83 MB | 10 月前3
共 5 条
- 1













