Smart CODE
Your on-line guide to the generated code

NAME
OutOfBandHandlerProc - Handling unexpected mime-type data returned

INTRODUCTION
In a Thin-Client application, expected data returned from the server is processed automatically. However, if the server sends unexpected data, you need to handle it. The Internet thin client and server use a private MIME type to indicate that the data coming is in the right format. If a different mime-type is returned, the OutOfBandHandlerProc is called.

For Internet Smart Code programming you would usually provide your own handler to process the data. If you havent set up this handler, the out-of-band handler will be called. The default handler writes the stream to the standard diagnostic output.

SYNOPSIS

C


#include "URL.h"

typedef int (*OutOfBandHandlerProc)( sc_stdcs_t*, sc_idata_t*)
	sc_stdcs_t* data;
	sc_idata_t* idata;
C++

#include "URL.h"

typedef int (*OutOfBandHandlerProc)( sc_stdcs_c*, sc_idata_c*)
	sc_stdcs_c * data;
	sc_idata_c * idata;
Java

public class HANDLERNAME_c extends SCInputDataHandler
{
	public void doit( SCIData idata)
	{
	}

	public static HANDLERNAME_c getNew_HANDLERNAME_c() {
		return new HANDLERNAME_c();
	}
}

Inputs

Returns

DESCRIPTION

USAGE

EXAMPLES

SEE ALSO