Package org.zeromq

Class ZStar.SimpleSet

  • All Implemented Interfaces:
    ZStar.Set
    Enclosing class:
    ZStar

    public static class ZStar.SimpleSet
    extends java.lang.Object
    implements ZStar.Set
    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleSet()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String createDefaultName​(java.lang.String format, int id)  
      boolean fire()
      Is the set on fire ?
      void lights​(java.lang.String name, int id)
      Puts the performance name on the front door with big lights.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleSet

        public SimpleSet()
    • Method Detail

      • fire

        public boolean fire()
        Description copied from interface: ZStar.Set
        Is the set on fire ?
        Specified by:
        fire in interface ZStar.Set
        Returns:
        true if it is time to leave the place.
      • lights

        public void lights​(java.lang.String name,
                           int id)
        Description copied from interface: ZStar.Set
        Puts the performance name on the front door with big lights.
        Specified by:
        lights in interface ZStar.Set
        Parameters:
        name - the name of the performance.
        id - the performance number.
      • createDefaultName

        public static java.lang.String createDefaultName​(java.lang.String format,
                                                         int id)