com.sun.jini.reggie
Class Matches

java.lang.Object
  extended by com.sun.jini.reggie.Matches
All Implemented Interfaces:
Serializable

 class Matches
extends Object
implements Serializable

A Matches contains the fields of a ServiceMatches packaged up for transmission between client-side proxies and the registrar server. Instances are never visible to clients, they are private to the communication between the proxies and the server.

This class only has a bare minimum of methods, to minimize the amount of code downloaded into clients.

Author:
Sun Microsystems, Inc.

Field Summary
 ArrayList items
          ServiceMatches.items as an ArrayList of Item
private static long serialVersionUID
           
 int totalMatches
          ServiceMatches.totalMatches
 
Constructor Summary
Matches(ArrayList items, int totalMatches)
          Simple constructor.
 
Method Summary
(package private)  ServiceMatches get()
          Converts a Matches to a ServiceMatches.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

items

public ArrayList items
ServiceMatches.items as an ArrayList of Item


totalMatches

public int totalMatches
ServiceMatches.totalMatches

Constructor Detail

Matches

public Matches(ArrayList items,
               int totalMatches)
Simple constructor.

Method Detail

get

ServiceMatches get()
             throws RemoteException
Converts a Matches to a ServiceMatches.

Throws:
RemoteException


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.