🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17692

Re: Passing Objects through Pipes

#17692
From: John P. McGrath
Date: Mon, 19 Oct 1998 00:00
17 lines
967 bytes
Murad Karrar <karrarm@lion.cs.latrobe.edu.au> wrote:

> I have three processes that must communicate with each
> other so I've setup pipes to link them to each other.
> The problem that I'm facing now is how can I pass 
> objects throught these pipes.

Use the Java serialization mechanism, defined in the class 
java.io.Serializable.  This turns objects into streams of bytes, 
and streams of bytes back into objects.

-- 
Regards,

John P. McGrath
<mcgrath@enter.net>
<jpm@nscs.fast.net>
Technical Details
Message-ID: <MPG.1094cd83de01d2a59896e4@forums.inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3628B63A.33ADC306@lion.cs.latrobe.edu.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,ffdf36785c03e24e
X-Google-Attributes: gidf74b3,public
From: mcgrath@enter.net (John P. McGrath)
Subject: Re: Passing Objects through Pipes
Date: 1998/10/19
Message-ID: <MPG.1094cd83de01d2a59896e4@forums.inprise.com>
X-Deja-AN: 402747017
References: <3628B63A.33ADC306@lion.cs.latrobe.edu.au>
Organization: Software Consulting Services
Newsgroups: borland.public.jbuilder.java.language