IiopSetFragment Function

Action

Indicates the begin of a new fragment. This function causes data (subsequentially set via IiopSet functions) to be sent by means of a new fragment.

Include file

IIOP.bdh

Syntax

IiopSetFragment( in hIiop : number ): boolean;

Return value

  • true if successful

  • false otherwise

Parameter Description
hIiop Handle to a CORBA object

Example

dcltrans
  transaction TSetFragment
  var
    hIiop: number;
  begin
    ...
    IiopSetChar(hIiop, ord('A'));
    IiopSetFragment(hIiop);
    IiopSetChar(hIiop, ord('B'));
    IiopSetChar(hIiop, ord('C'));
    IiopSetFragment(hIiop);
    IiopSetChar(hIiop, ord('D'));

    // send a request with two fragments

    // request contains 'A'

    // fragment 1 contains 'B' and 'C'

    // fragment 2 contains 'D'

    IiopRequest(hIiop, "print");
  end TSetFragment;