org.kth.dks
Interface DKSCallbackInterface

All Known Implementing Classes:
DKSImpl, DKSNode

public interface DKSCallbackInterface

Defines an interface for callbacks that DKSNode implements, which should be called by every application implementing DKSAppInterface!

Title: DKS

Description: DKS Middleware

Copyright: Copyright (c) 2004

Company: KTH-IMIT/SICS

Version:
1.0
Author:
not attributable

Method Summary
 void joinCallbackReturn()
          INVARIANT: should be called by DKSAppInterface every time DKSAppInterface.joinCallback() is called
 void leaveCallbackReturn()
          INVARIANT: should be called by DKSAppInterface every time DKSAppInterface.leaveCallback() is called
 DKSCallbackInterface setCallbackHandler(DKSAppInterface receiver)
          Instructs the DKS system to pass on all received messages to the specified DKSAppInterface which contains the proper callbacks.
 

Method Detail

joinCallbackReturn

void joinCallbackReturn()
INVARIANT: should be called by DKSAppInterface every time DKSAppInterface.joinCallback() is called

See Also:
DKSAppInterface

leaveCallbackReturn

void leaveCallbackReturn()
INVARIANT: should be called by DKSAppInterface every time DKSAppInterface.leaveCallback() is called

See Also:
DKSAppInterface

setCallbackHandler

DKSCallbackInterface setCallbackHandler(DKSAppInterface receiver)
Instructs the DKS system to pass on all received messages to the specified DKSAppInterface which contains the proper callbacks. Please look at DKSAppInterface for more information

Parameters:
receiver - DKSAppInterface interface to the application for callbacks
Returns:
DKSCallbackInterface an interface for DKS callbacks, which the application will invoke
See Also:
DKSCallBackInterface, DKSAppInterface


Copyright © 2010. All Rights Reserved.