com.bigdata.jini.lookup.entry
Class HostnameFilter

java.lang.Object
  extended by com.bigdata.jini.lookup.entry.HostnameFilter
All Implemented Interfaces:
Serializable, net.jini.lookup.ServiceItemFilter

public class HostnameFilter
extends Object
implements net.jini.lookup.ServiceItemFilter, Serializable

Filters for the host on which the filter is evaluated.

Version:
$Id$
Author:
Bryan Thompson
See Also:
Serialized Form

Constructor Summary
HostnameFilter(Hostname[] attr)
           
 
Method Summary
 boolean check(net.jini.core.lookup.ServiceItem serviceItem)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HostnameFilter

public HostnameFilter(Hostname[] attr)
               throws UnknownHostException
Throws:
UnknownHostException
Method Detail

toString

public String toString()
Overrides:
toString in class Object

check

public boolean check(net.jini.core.lookup.ServiceItem serviceItem)
Specified by:
check in interface net.jini.lookup.ServiceItemFilter


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.