Mobile SDK for Windows Apps2.0
Transforming Windows apps into Mobile apps
IChannel Struct Reference

#include <Channel.h>

Inherited by CitrixMobile.

List of all members.

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.

Member Function Documentation

STDMETHODIMP IChannel::CloseChannel ( [out, retval] CMPRESULT result)

Close the link between the application and the service.

Parameters:
result- result of the operation
Returns:
HRESULT

Reimplemented in CitrixMobile.

STDMETHODIMP IChannel::GetChannelState ( [out,retval] CMP_CHANNEL_STATE state)

Get the current state of the channel.

Parameters:
state- returned channel state CMP_CHANNEL_STATE
Returns:
HRESULT

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.

Parameters:
readyState- returns the state of the virtual channel being open
Returns:
HRESULT

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.

Parameters:
channelFlags- flags to control how the channel is opened
result- result of the operation (optional)
Returns:
HRESULT

Reimplemented in CitrixMobile.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Events Defines