Closed wsky closed 11 years ago
remoting embedded ws config:
RemotingService.setChannelSelector(new EmbeddedClientChannelPooledSelector());
RemotingService.setChannelSelector(new EmbeddedClientChannelSharedSelector());
RemotingConfiguration.configure().clientChannelSelector(new EmbeddedClientChannelSharedSelector());
endpoint embedded ws config:
Endpoint e = new Endpoint(id);
e.setClientChannelSelector(new EmbeddedClientChannelSharedSelector());
need to improve out/inbound buffer pool to websocket-client
server is necessarily for java
avoid depend third-part lib, just easy to use, only deal nio read/receive, no extension support.