forked from vitessio/vitess
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request vitessio#1221 from yaoshengzhe/use_InetSocketAddre…
…ss_in_RpcClientFactory Use InetSocketAddress as function param in RpcClientFactory
- Loading branch information
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
java/client/src/main/java/com/youtube/vitess/client/RpcClientFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
package com.youtube.vitess.client; | ||
|
||
import java.net.SocketAddress; | ||
import java.net.InetSocketAddress; | ||
|
||
/** | ||
* RpcClientFactory creates a concrete RpcClient. | ||
*/ | ||
public interface RpcClientFactory { | ||
RpcClient create(Context ctx, SocketAddress address); | ||
RpcClient create(Context ctx, InetSocketAddress address); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters