Output - putSerializedProduct

 

Description

This agent takes an input product, serializes it, compresses it, and sends this strean of bytes to a acceptSerializedProduct PIM listening on a remote socket.  Unlike the limitations of sending products (<64K) over UDP as with the putUDP DIM, this agent can send products of any conceivable size.

Configuration Variables

destinationHost
The host machine where the serialized products will be sent.

destinationPort

The port to talk to the host on.

compressionLevel

The level of compression to use (0 - 9).  0 = no compression (Default),  9 = max compression

How it works

This DIM uses Java serialization to turn the outgoing product into an ObjectOutputStream, which is compressed using the selected compression level and written to the output stream of a socket.

Revised: 6 March 2000