Mobile SDK for Windows Apps2.0
Transforming Windows apps into Mobile apps
|
#include <Channel.h>
Inherited by CitrixMobile.
Public Member Functions | |
STDMETHODIMP | IsChannelOpen ([out, retval]VARIANT_BOOL *readyState) |
Is virtual channel open. | |
STDMETHODIMP | OpenChannel ([in]CMP_CHANNEL_FLAGS channelFlags,[out, retval]CMPRESULT *result) |
Open the MRVC virtual channel. | |
STDMETHODIMP | CloseChannel ([out, retval]CMPRESULT *result) |
Close the link between the application and the service. | |
STDMETHODIMP | GetChannelState ([out, retval]CMP_CHANNEL_STATE *state) |
Get the current state of the channel. |
STDMETHODIMP IChannel::CloseChannel | ( | [out, retval] CMPRESULT * | result | ) |
Close the link between the application and the service.
result | - result of the operation |
Reimplemented in CitrixMobile.
STDMETHODIMP IChannel::GetChannelState | ( | [out,retval] CMP_CHANNEL_STATE * | state | ) |
Get the current state of the channel.
state | - returned channel state CMP_CHANNEL_STATE |
Reimplemented in CitrixMobile.
STDMETHODIMP IChannel::IsChannelOpen | ( | [out, retval] VARIANT_BOOL * | readyState | ) |
Is virtual channel open.
Check to see if virtual channel is open Determine if the ICA MRVC Virtual Channel is currently open to the other side. If this returns true, the communication between the server and client should be connected and able to exchange ICA packets.
readyState | - returns the state of the virtual channel being open |
Reimplemented in CitrixMobile.
STDMETHODIMP IChannel::OpenChannel | ( | [in] CMP_CHANNEL_FLAGS | channelFlags, |
[out, retval] CMPRESULT * | result | ||
) |
Open the MRVC virtual channel.
Start the link between the two sides. Bind the channel if it has not already been done.
channelFlags | - flags to control how the channel is opened |
result | - result of the operation (optional) |
Reimplemented in CitrixMobile.