Rogue Wave Server
API Reference Guide
Product Documentation:

Rogue Wave Server
Documentation Home
List of all members | Public Member Functions
IlsMvComponent::RepresentationListener Class Reference

This nested class is the interface of a representation listener that can be registered to the component. More...

#include <ilserver/mvcomp.h>

Public Member Functions

virtual void onCloseRepresentation (IlsRepresentation &repres, const IlsMvValue *ackArgv, IlsCbArgNb ackArgc)
 Called when the user has called IlsRepresentation::close on the representation.
 
virtual void onCreateRepresentation (IlsRepresentation &repres, const IlsMvValue *ackArgv, IlsCbArgNb ackArgc)
 Called while the member function IlsRepresentation::onCreation is executed.
 
virtual void onDeleteRepresentation (IlsRepresentation &repres, const IlsMvValue *ackArgv, IlsCbArgNb ackArgc)
 Called when the representation is being deleted.
 
virtual void onRepresentationCreated (IlsRepresentation &repres, const IlsMvValue *ackArgv, IlsCbArgNb ackArgc)
 Called at the end of the initial notification transaction when all the IlsRpObject instances have been created.
 

Detailed Description

This nested class is the interface of a representation listener that can be registered to the component.

Library: mvserver
and mvcomp

A representation listener allows you to be notified when a representation is created (that is, when a dynamic view has been opened on the server) without subclassing IlsMvComponent. Refer to the documentation of the corresponding methods of IlsMvComponent and IlsRepresentation for more information on when these events occur and on the arguments that must be passed.

This class should be derived and its methods overridden.

Use the virtual member functions IlsMvComponent::addRepresentationListener() and IlsMvComponent::removeRepresentationListener() to add or remove your own listeners.

See also
IlsMvEndPoint::ConnectionListener.

© Copyright 2018, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.