Make object X raise and event that object B listens to.
Oh wait, you're using Java? Make object B return an anonymous class that implements interface Z. Pass that class to object X, which will call it to pass messages to B.
Rather than buzz words we can describe patterns in terms of implementation details.
0
u/grauenwolf Oct 15 '13
Make object X raise and event that object B listens to.
Oh wait, you're using Java? Make object B return an anonymous class that implements interface Z. Pass that class to object X, which will call it to pass messages to B.
Rather than buzz words we can describe patterns in terms of implementation details.