Class LocalWire
- java.lang.Object
-
- com.yahoo.messagebus.network.local.LocalWire
-
- All Implemented Interfaces:
com.yahoo.jrt.slobrok.api.IMirror
public class LocalWire extends Object implements com.yahoo.jrt.slobrok.api.IMirror
- Author:
- Simon Thoresen Hult
-
-
Constructor Summary
Constructors Constructor Description LocalWire()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<com.yahoo.jrt.slobrok.api.Mirror.Entry>
lookup(String pattern)
String
newHostId()
void
registerService(String serviceName, LocalNetwork owner)
LocalServiceAddress
resolveServiceAddress(String serviceName)
void
unregisterService(String serviceName)
int
updates()
-
-
-
Method Detail
-
registerService
public void registerService(String serviceName, LocalNetwork owner)
-
unregisterService
public void unregisterService(String serviceName)
-
resolveServiceAddress
public LocalServiceAddress resolveServiceAddress(String serviceName)
-
newHostId
public String newHostId()
-
lookup
public List<com.yahoo.jrt.slobrok.api.Mirror.Entry> lookup(String pattern)
- Specified by:
lookup
in interfacecom.yahoo.jrt.slobrok.api.IMirror
-
updates
public int updates()
- Specified by:
updates
in interfacecom.yahoo.jrt.slobrok.api.IMirror
-
-