41 lines
1004 B
HTML
41 lines
1004 B
HTML
|
|
<html>
|
||
|
|
<head>
|
||
|
|
<link rel="stylesheet" type="text/css" href="..\styles.css">
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
<img src="..\..\ro.png" alt="" align="right">
|
||
|
|
|
||
|
|
<!-------------------------------------------------------------------------->
|
||
|
|
|
||
|
|
<p class="h1">
|
||
|
|
<span>Dispatch notifier</span>
|
||
|
|
</p>
|
||
|
|
|
||
|
|
<h2>Purpose</h2>
|
||
|
|
<p>This example shows how to customize the invocation.</p>
|
||
|
|
|
||
|
|
<p>
|
||
|
|
<b>IRODispatchNotifier</b> is a special interface that <b>TROInvoker</b> classes recognize.
|
||
|
|
If your server side object implements it, the <b>IRODispatchNotifier.GetDispatchInfo</b> method
|
||
|
|
will be called before the target method is invoked.
|
||
|
|
</p>
|
||
|
|
|
||
|
|
<p>See <b>TROInvoker.CustomHandleMessage</b> in uROServer.pas.</p>
|
||
|
|
|
||
|
|
<p>The <b>TMyInvoker</b> class shows how to enhance the interception mechanism by providing support
|
||
|
|
for a custom interface called <b>ITestInterface</b>.</p>
|
||
|
|
|
||
|
|
<p>Notice how the <b>TROClassFactory.Create</b> has been changed to use <b>TMyInvoker</b>.</p>
|
||
|
|
|
||
|
|
</body>
|
||
|
|
</html>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|