All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface game.GameLinkListener

public interface GameLinkListener
extends GameLinkConstants
The GameLinkListener interface should be implemented by classes whose instances wants to be notified when a new frame is received by the GameLink object. Objects register with the GameLink object by calling the addGameLinkListenerGameLink object are classified in groups, and an object registers for listening for one group of frames at a time, so that not all objects listens to all frames.

See Also:
GameLink, addGameLinkListener

Method Index

 o frameReceived(Object, LinkFrame)
Messaged when a new data frame is received by the GameLink object and this frame belongs to the groups the GameLinkListener asked to listen to.

Methods

 o frameReceived
 public abstract void frameReceived(Object gameLink,
                                    LinkFrame frame)
Messaged when a new data frame is received by the GameLink object and this frame belongs to the groups the GameLinkListener asked to listen to.

Parameters:
gameLink - the GameLink that actually received the frame.
frame - the frame that has just been received.
See Also:
GameLink

All Packages  Class Hierarchy  This Package  Previous  Next  Index