public class ServiceMatches extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
ServiceItem[] |
items
Matching items (up to maxMatches from lookup method).
|
int |
totalMatches
Total number of matching items.
|
Constructor and Description |
---|
ServiceMatches(AtomicSerial.GetArg arg)
AtomicSerial convenience constructor. |
ServiceMatches(ServiceItem[] items,
int totalMatches)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns a
String representation of this
ServiceMatches . |
public final ServiceItem[] items
public final int totalMatches
public ServiceMatches(AtomicSerial.GetArg arg) throws IOException
AtomicSerial
convenience constructor.
Since this class is mutable it should be cloned during deserialization.arg
- atomic deserialization parameterIOException
- if there are I/O errors while reading from GetArg's
underlying InputStream
public ServiceMatches(ServiceItem[] items, int totalMatches)
items
- matching itemstotalMatches
- total number of matching itemsCopyright © 2016–2018 The Apache Software Foundation. All rights reserved.