Class MvpnDefaultHandler

java.lang.Object
    android.os.Handler
        com.citrix.mvpn.api.MvpnDefaultHandler
public class MvpnDefaultHandler
extends android.os.Handler
<!--NeedCopy-->

MvpnDefaultHandler.java - This default handler class can be used as a target for the input messenger.

Nested class summary

Nested classes/interfaces inherited from class android.os.Handler
android.os.Handler.Callback

Field summary

Modifier and Type Field and Description
static java.lang.String TAG

Constructor summary

Constructor and Description
MvpnDefaultHandler()
MvpnDefaultHandler(android.os.Looper looper)

Method summary

Modifier and Type Method Description
void handleMessage (android.os.Message msg) This handler message is called after the network tunnel is started successfully or failed to start.
boolean isNetworkTunnelRunning() This method returns true if network tunnel is started successfully.
boolean isSessionExpired() This method returns true if AG session is expired.

Field detail

TAG

public static final java.lang.String TAG
<!--NeedCopy-->

Constructor detail

MvpnDefaultHandler

public MvpnDefaultHandler(android.os.Looper looper)
<!--NeedCopy-->

MvpnDefaultHandler

public MvpnDefaultHandler()
<!--NeedCopy-->

Method detail

handleMessage

public void handleMessage(android.os.Message msg)
<!--NeedCopy-->

This handler message is called after the network tunnel is started successfully or failed to start.

Overrides

handleMessage in class android.os.Handler

Parameters

Parameter Description
msg Message sent from the MITM proxy service

isNetworkTunnelRunning

public boolean isNetworkTunnelRunning()
<!--NeedCopy-->

Returns

Returns true if the network tunnel is started successfully.


isSessionExpired

public boolean isSessionExpired()
<!--NeedCopy-->

Returns

Returns true if the network tunnel failed to start because of session expiry.

Class MvpnDefaultHandler