Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dawnbreaks committed Mar 23, 2015
1 parent 099eb9d commit f865fca
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,6 @@ All Services will automatically register themself to registry(Zookeeper) after s
If you want to scale out and deploy more server, you just simply start the new services, NettyRPC client will automatically got notified and dispatch requests to that new services.

```java
ArrayList<InetSocketAddress> serverNodeList = new ArrayList<InetSocketAddress>();
serverNodeList.add(new InetSocketAddress("127.0.0.1",9090));
serverNodeList.add(new InetSocketAddress("127.0.0.1",9091));

IHelloWordObj client = RPCClient.proxyBuilder(IHelloWordObj.class)
.enableRegistry()
.build();
Expand Down

0 comments on commit f865fca

Please sign in to comment.