org.eclipse.emf.cdo.server
Interface ServerCDOResProtocol.Listener

All Known Implementing Classes:
ServerCDOProtocolImpl
Enclosing interface:
ServerCDOResProtocol

public static interface ServerCDOResProtocol.Listener

Can be registered with a ServerCDOResProtocol to be subsequently notified about removed resources and invalidated objects.


Method Summary
 void notifyInvalidation(ServerCDOResProtocol protocol, java.util.Collection<java.lang.Long> modifiedOIDs)
          Called by the ServerCDOResProtocol this ServerCDOResProtocol.Listener is registered with to notify about invalidated objects.
 void notifyRemoval(ServerCDOResProtocol protocol, java.util.Collection<java.lang.Integer> rids)
          Called by the ServerCDOResProtocol this ServerCDOResProtocol.Listener is registered with to notify about removed resources.
 

Method Detail

notifyRemoval

void notifyRemoval(ServerCDOResProtocol protocol,
                   java.util.Collection<java.lang.Integer> rids)
Called by the ServerCDOResProtocol this ServerCDOResProtocol.Listener is registered with to notify about removed resources.

Parameters:
protocol - The ServerCDOResProtocol this ServerCDOResProtocol.Listener is registered with.

rids - A Collection of RIDs which have been removed.


notifyInvalidation

void notifyInvalidation(ServerCDOResProtocol protocol,
                        java.util.Collection<java.lang.Long> modifiedOIDs)
Called by the ServerCDOResProtocol this ServerCDOResProtocol.Listener is registered with to notify about invalidated objects.

Parameters:
protocol - The ServerCDOResProtocol this ServerCDOResProtocol.Listener is registered with.

modifiedOIDs - A Collection of OIDs which have been invalidated.


Copyright (c) 2004, 2005, 2006 Eike Stepper, Germany.
All Rights Reserved.