e-docs > Tuxedo > Using the CORBA Notification Service > CORBA Notification Service API Reference |
Using the CORBA Notification Service |
CosNotifyComm::StructuredPushConsumer::Offer_change
Synopsis
Never invoked.
OMG IDL
void offer_change(
in CosNotification::EventTypeSeq added,
in CosNotification::EventTypeSeq removed )
raises ( InvalidEventType );
Exceptions
Description
This operation is never invoked. The subscriber application must provide a stubbed-out version of this operation.
Examples
C++ code example:
virtual void offer_change(
const CosNotification::EventTypeSeq& added,
const CosNotification::EventTypeSeq& removed )
{
throw CORBA::NO_IMPLEMENT();
}
Java code example:
public void offer_change(EventType[] added, EventType[] removed)
{
throw new NO_IMPLEMENT();
}
Exception Minor Codes
This section provides information about the Notification Service exception symbols and minor codes. The minor codes are in the Tobj_Events.idl and Tobj_Notification.idl files. These files are located in the tuxdir\include directory (for Microsoft Windows systems) and tuxdir/include directory (for UNIX systems).
Table 2-4 and Table 2-5 list the exception symbols and corresponding minor codes for the Tobj_Events and Tobj_Notification exceptions respectively. CORBA system events have a minor code field and those minor codes are also defined in these tables.
Note: The exception symbols are organized within the tables by the higher-level exceptions (CORBA::IMP_LIMIT, CORBA::CORBA::BAD_PARAM, CORBA::BAD_INV_ORDER, CORBA::INV_OBHJREF, and CORBA::OBJECT_NOT_EXIST) and listed in alphabetical order.