Disconnect a specific client?

Is it possible to write a code that would allow remote user to disconnect an on-going streaming session (rtmp/http/etc.) ? How should I approach this requirement?

Thank you

It is:

IClient.setShutDownClient(true);

Richard

Thank you Richard.