public interface

ConnectionErrorProc

com.pdftron.pdf.ConnectionErrorProc

Class Overview

ConnectionErrorProc is an interface for a custom handler that that can be passed into SetConnectionErrorProc.

Summary

Public Methods
abstract void onConnectionError(String message, int error_code, boolean switch_to_demo, Object custom_data)
Process PWS server connection error.

Public Methods

public abstract void onConnectionError (String message, int error_code, boolean switch_to_demo, Object custom_data)

Process PWS server connection error.

Parameters
message The reason for the connection failure.
error_code The error code from the connection failure.
switch_to_demo Is 1 if continuing in the current situation requires a change from a production key to demo mode (where watermarks will be applied) and 0 otherwise
custom_data The custom data passed into the call to SetConnectionErrorProc