Skip to content

Commit

Permalink
Add missed event register of lookout. (#746)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulllb authored and ujjboy committed Sep 6, 2019
1 parent 754dbc9 commit f38b068
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import com.alipay.sofa.rpc.event.ProviderPubEvent;
import com.alipay.sofa.rpc.event.ServerSendEvent;
import com.alipay.sofa.rpc.event.ServerStartedEvent;
import com.alipay.sofa.rpc.event.ServerStoppedEvent;
import com.alipay.sofa.rpc.ext.Extension;

/**
Expand Down Expand Up @@ -50,6 +51,7 @@ public void install() {
EventBus.register(ClientEndInvokeEvent.class, subscriber);
EventBus.register(ServerSendEvent.class, subscriber);
EventBus.register(ServerStartedEvent.class, subscriber);
EventBus.register(ServerStoppedEvent.class, subscriber);
EventBus.register(ProviderPubEvent.class, subscriber);
EventBus.register(ConsumerSubEvent.class, subscriber);

Expand All @@ -61,6 +63,7 @@ public void uninstall() {
EventBus.unRegister(ClientEndInvokeEvent.class, subscriber);
EventBus.unRegister(ServerSendEvent.class, subscriber);
EventBus.unRegister(ServerStartedEvent.class, subscriber);
EventBus.unRegister(ServerStoppedEvent.class, subscriber);
EventBus.unRegister(ProviderPubEvent.class, subscriber);
EventBus.unRegister(ConsumerSubEvent.class, subscriber);
}
Expand Down

0 comments on commit f38b068

Please sign in to comment.