Class ServiceIdFilter

  • All Implemented Interfaces:
    IAsyncFilter

    public class ServiceIdFilter
    extends java.lang.Object
    implements IAsyncFilter
    Filter for service ids.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Object sid
      The service id.
    • Constructor Summary

      Constructors 
      Constructor Description
      ServiceIdFilter()
      Create a new filter.
      ServiceIdFilter​(java.lang.Object sid)
      Create a new filter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)
      Test if an object is equal to this.
      IFuture<java.lang.Boolean> filter​(java.lang.Object obj)
      Test if service is a proxy.
      java.lang.Object getId()
      Get the id.
      int hashCode()
      Get the hashcode.
      void setId​(java.lang.Object sid)
      Set the id.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • sid

        protected java.lang.Object sid
        The service id.
    • Constructor Detail

      • ServiceIdFilter

        public ServiceIdFilter()
        Create a new filter.
      • ServiceIdFilter

        public ServiceIdFilter​(java.lang.Object sid)
        Create a new filter.
    • Method Detail

      • getId

        public java.lang.Object getId()
        Get the id.
        Returns:
        the id.
      • setId

        public void setId​(java.lang.Object sid)
        Set the id.
        Parameters:
        id - The id to set.
      • filter

        public IFuture<java.lang.Boolean> filter​(java.lang.Object obj)
        Test if service is a proxy.
        Specified by:
        filter in interface IAsyncFilter
        Returns:
        True, if passes the filter.
      • hashCode

        public int hashCode()
        Get the hashcode.
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Test if an object is equal to this.
        Overrides:
        equals in class java.lang.Object