inprocess: add a toString for InProcessSocketAddress

The motivation here is in some cases we log the remote-addr that is set in the gRPC call attributes, and have to special case this type to support inprocess servers.
This commit is contained in:
Doug Lawrie 2018-06-22 18:32:42 +01:00 committed by Carl Mastrangelo
parent e59aac7178
commit ffd0f9feca
1 changed files with 5 additions and 0 deletions

View File

@ -33,4 +33,9 @@ public final class InProcessSocketAddress extends SocketAddress {
public String getName() { public String getName() {
return name; return name;
} }
@Override
public String toString() {
return name;
}
} }