Exactly that.
I'm desperately trying to find out how the actual disconnection is
done. I wish that it would be just a simple Server.Disconnect() ;)
The implementation of the IWMSEventAuthorizationPlugin has methods
such as AuthorizeEvent which passes Context objects as reference. This
is not the case in the OnHeartBeat, and I, god help me, can't figure
out how would the disconnection be done.
Thank you anyway.
On Jan 3, 5:58 pm, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.comwrote:
Well, in the OnHeartBeat method, would you just check to see if the
counter (which increases the counter) is at that point, and if it is,
disconnect the stream?
--
- Nicholas Paldino [.NET/C# MVP]
- m...@spam.guard.caspershouse.com
"T-Co" <antti.rint...@gmail.comwrote in message
news:cd**********************************@l1g2000h sa.googlegroups.com...
I have developed a custom plugin for authorizing streams. I fetch the
URL from pPresentationCtx on WMS_EVENT_OPEN with
WMS_PRESENT_REQUEST_NAME and go from there.
My EnablePlugin() has plHeartbeatPeriod = 30000;
My OnHeartBeat() has a function that increases a counter.
Now, what I would like to do is, that when the counter reaches a
certain point I would like to tell the server (or client or whatever)
to disconnect the stream.
How would I do that?
Please, someone hear my cry for help!-)