Skip to content

Class MvpnDefaultHandler

java.lang.Object
    android.os.Handler
        com.citrix.mvpn.api.MvpnDefaultHandler
public class MvpnDefaultHandler
extends android.os.Handler

MvpnDefaultHandler.java - This is the 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 details

Modifier and Type Field and Description Detail
static int FAIL public static final int FAIL
static int SESSION_EXPIRED public static final int SESSION_EXPIRED
static int SUCCESS public static final int SUCCESS

Also read: Constant field values

Constructor summary

Constructor and Description Detail
MvpnDefaultHandler() public MvpnDefaultHandler()

Method summary

Modifier and Type Method Description
void handleMessage (android.os.Message msg) This handler message is called once 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.

Method detail

handleMessage

public void handleMessage(android.os.Message msg)

This handler message is called once 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()

Returns

returns true if network tunnel is started successfully

isSessionExpired

public boolean isSessionExpired()