jGCS Documentation

net.sf.jgcs
Interface ServiceListener

All Superinterfaces:
MessageListener

public interface ServiceListener
extends MessageListener

This class defines a ServiceListener. Listeners interested in receiving notifications about guarantees of requested services on messages must implement this interface.

Version:
1.0
Author:
Nuno Carvalho
See Also:
DataSession, Service

Method Summary
 void onServiceEnsured(java.lang.Object context, Service service)
          Notifies the application that one certain service to a message delivery is already ensured.
 
Methods inherited from interface net.sf.jgcs.MessageListener
onMessage
 

Method Detail

onServiceEnsured

void onServiceEnsured(java.lang.Object context,
                      Service service)
Notifies the application that one certain service to a message delivery is already ensured. The message is identified by the context. This context must be previously provided by the application.

Parameters:
context - context previously provided by the application that identifies a message.
service - service ensured.

jGCS Documentation

Copyright (c) 2006, Universidade de Lisboa
For updates and related information please see jGCS home page