public class ResolveResult extends Frame
Modifier and Type | Class and Description |
---|---|
static class |
ResolveResult.ServiceLocator |
Modifier and Type | Field and Description |
---|---|
static TransportableFactory |
factory |
int |
priority |
Constructor and Description |
---|
ResolveResult() |
Modifier and Type | Method and Description |
---|---|
void |
add(String key,
FrameComponent val)
Implement the frame add() callback.
|
static Frame |
composeQuery(String service_name)
Create a document representing the VNS resolve query for the specified service.
|
static Frame |
composeQuery(String service_name,
int mypriority)
Create a document representing the VNS resolve query for the highest priority service(s) whose
priority is strictly below the specified priority.
|
Frame |
createSubFrame(String key,
int capacity)
Override the Frame createSubFrame method to create a ServiceLocator.
|
ResolveResult.ServiceLocator |
getNext()
Fetch the next service listing.
|
boolean |
hasMore()
Determine if there are more service listing to be fetched.
|
void |
initializeIterator()
Initialize the service listing iterator.
|
static boolean |
isQualified(String service_name)
Check whether a service_name has qualifications (that is, any or all of level, host, instance
are explicitly specified.)
|
static String |
unqualifiedName(String service_name)
Strip the qualifications from this qualified service name.
|
createFrameLeaf, fadd, fadd, fadd, fadd, fadd, fadd, fadd, fadd, fadd, fadd, fadd, fadd, fadd, fadd, faddTrueBinary, fromStream, getFrameTransporter, getKeyValuePair, getKeyValuePairCount, setFrameTransporter, toRawXML, toRawXML, toRawXMLWork, toStream, toString, toXML, toXML, toXML
getAttributes, setAttributes
public int priority
public static TransportableFactory factory
public static String unqualifiedName(String service_name)
public static boolean isQualified(String service_name)
public static Frame composeQuery(String service_name)
public static Frame composeQuery(String service_name, int mypriority)
public void initializeIterator()
public boolean hasMore()
public ResolveResult.ServiceLocator getNext()
public void add(String key, FrameComponent val)
public Frame createSubFrame(String key, int capacity)
createSubFrame
in class Frame
Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.