Package io.grpc.inprocess
Class InProcessSocketAddress
- java.lang.Object
-
- java.net.SocketAddress
-
- io.grpc.inprocess.InProcessSocketAddress
-
- All Implemented Interfaces:
Serializable
public final class InProcessSocketAddress extends SocketAddress
Custom SocketAddress class forInProcessTransport.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InProcessSocketAddress(String name)Construct an address for a server identified by name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Returnstrueif the object is of the same type and server names match.StringgetName()Gets the name of the inprocess server.inthashCode()StringtoString()ReturnsgetName().
-
-
-
Constructor Detail
-
InProcessSocketAddress
public InProcessSocketAddress(String name)
Construct an address for a server identified by name.- Parameters:
name- The name of the inprocess server.- Since:
- 1.0.0
-
-