GigaSpaces XAP 9.0 API

com.sun.jini.reggie
Class Matches

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

public class Matches
extends Object
implements Serializable, ServiceMatchesWrapper

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.
See Also:
Serialized Form

Field Summary
 ArrayList items
          ServiceMatches.items as an ArrayList of Item
 int totalMatches
          ServiceMatches.totalMatches
 
Constructor Summary
Matches(ArrayList items, int totalMatches)
          Simple constructor.
 
Method Summary
 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

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

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

Specified by:
get in interface ServiceMatchesWrapper
Throws:
RemoteException

GigaSpaces XAP 9.0 API

Copyright © GigaSpaces.