public interface RpcServer extends Lifecycle<Void>
| Modifier and Type | Method and Description |
|---|---|
int |
boundPort() |
void |
registerConnectionClosedEventListener(ConnectionClosedEventListener listener)
Register a conn closed event listener.
|
void |
registerProcessor(RpcProcessor<?> processor)
Register user processor.
|
void registerConnectionClosedEventListener(ConnectionClosedEventListener listener)
listener - the event listener.void registerProcessor(RpcProcessor<?> processor)
processor - the user processor which has a interestint boundPort()
Copyright © 2024. All rights reserved.