cancel
Showing results for 
Search instead for 
Did you mean: 

call_outbound_plug and Fire_outbound_plug?

former_member202598
Participant
0 Kudos

Hello

What exactly is the striking difference between these methods?  fire_outbound_plug is being  called  inside call_outbound_plug, as both are the methods of a same class cant we  call fire_outbound_plug directly???

Regards

Sanguine

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sanguine,

Fire_outbound_plug method is used in window outbound plug and that to only when you want to navigate between two components which are added in a main component( in which a navigation link is defined for the two components added in the component usage ).

If at all there are two components and the second component is added to the first component component usage and defined a navigation link then in the window outbound plug we directly use view_manager->navigate( ) method.

Regards,

Krishna.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Sanguine ,

The method call_outbound_plug is responsible for calling a particular implementation method defined for an outbound plug (OP_prefix for O/P , gets created when you create an outbound plug ) .

Whereas the method fire_outbound_plug is responsible for actually triggering the navigation i.e whatever the o/p is destined to call will be called say for instance delegated o/p of window of another component .

Hope this will be helpful .

Thanks ,

Vaibhav

kumar5
Active Contributor
0 Kudos

Hi ,

Basically if you will see in the class method fire_output_plug has visibility as protected and call_output_plug has visibility as Public.

So you can call and access fire_outbound_plug method only in the window and on the other side call_outbound_plug can be used and called from anywhere.

Thanks

Kumar

Former Member
0 Kudos

Hi Sanguine,

suppose if you are opening as a popup that time using call_outbound_plug method.

if you want to exit that popup u can use fire_outbound_plug method.

If you want more clarification on this just put a break point in any standard popup  then you come to know .

Thanks and Regards,

Santosh.