public static interface ZStar.Fortune extends ZStar.TimeTaker
Modifier and Type | Method and Description |
---|---|
ZStar.Star |
create(ZContext ctx,
ZMQ.Socket mic,
int count,
ZStar.Star previous,
Object... args)
Creates a star.
|
default ZStar.Star |
create(ZContext ctx,
ZMQ.Socket mic,
Selector sel,
int count,
ZStar.Star previous,
Object... args)
Deprecated.
use
#create(ZContext, Socket, int, Star, Object...) instead. |
boolean |
interview(ZMQ.Socket mic)
The show is over.
|
String |
premiere(ZMQ.Socket mic,
Object... args)
This is the grand premiere!
Called when the star enters the plateau.
|
party
String premiere(ZMQ.Socket mic, Object... args)
mic
- the pipe to the Corbeille sideargs
- the arguments passed as parameters of the star constructor@Deprecated default ZStar.Star create(ZContext ctx, ZMQ.Socket mic, Selector sel, int count, ZStar.Star previous, Object... args)
#create(ZContext, Socket, int, Star, Object...)
instead.ctx
- the context used for the creation of the socketsmic
- the pipe to the Corbeille sidesel
- the selector used for pollingcount
- the number of times a star was created.previous
- the previous star if any (null at the first creation)args
- the arguments passed as parameters of the star constructorZStar.Star create(ZContext ctx, ZMQ.Socket mic, int count, ZStar.Star previous, Object... args)
ctx
- the context used for the creation of the socketsmic
- the pipe to the Corbeille sidecount
- the number of times a star was created.previous
- the previous star if any (null at the first creation)args
- the arguments passed as parameters of the star constructorboolean interview(ZMQ.Socket mic)
mic
- the pipe to the Corbeille sideCopyright © 2019. All rights reserved.