SendNEToDisco

The SendNeToDisco method sends a processed RIV::Record to the returns table of the particular Agent database in DISCO.

Method Synopsis

SendNEToDisco($entity, $lastRecTag)

Parameters

$entity
Specifies a reference to a hash list that contains the definition of the record to be sent to DISCO. For convenience, the RIV::Record module is such a hash list that provides nested structures for representing local and remote neighbors.
$lastRecTag
Specifies the record for the network entity according to the following values:
  • 0 (zero) — Indicates that more records for this network entity are to follow.
  • 1 — Indicates the last record for this network.
Note: If you use RIV::Record module objects, this parameter is ignored.

Description

The SendNEToDISCO method sends a processed $entity record object to the returns table of the particular Agent database in DISCO. Typically, the $entity parameter is a RIV::Record module object that contains information about local and remote neighbors.

Example Usage


$TestNE=new RIV::Record($data);
..
..
..
$agent->SendNEToDisco($TestNE,0);

Returns

None