Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

net.jxta.pipe: Javadoc index of package net.jxta.pipe.


Package Samples:

net.jxta.pipe

Classes:

PipeService: This class defines the API to the JXTA Pipe Service. Pipes are the core mechanism for exchanging messages between JXTA applications or services. Pipes are uniquely identified by a net.jxta.protocol.PipeAdvertisement which is associated with each pipe. Creating the advertisement of a Pipe must be done only once in the lifetime of a Pipe. In fact, a net.jxta.protocol.PipeAdvertisement represents the pipe on the JXTA network. Several types of Pipe can be used: JxtaUnicast : unicast, unreliable and unsecure pipe JxtaUnicastSecure : unicast and secure pipe JxtaPropagate : propagated, unreliable and ...
PipeMsgListener: The listener interface for receiving PipeMsgEvent events. The following example illustrates how to implement a PipeMsgListener : PipeMsgListener myListener = new PipeMsgListener() { public void pipeMsgEvent(PipeMsgEvent e) { Message msg=null; try { msg = event.getMessage(); } catch (Exception e) { e.printStackTrace(); return; } } } InputPipe pipeIn = pipe.createInputPipe(pipeAdv, myListener); *
OutputPipeListener: The listener interface for receiving OutputPipe resolution events. The following example illustrates how to implement a OutputPipeListener : public class MyService implements OutputPipeListener { .. .. pipe.createOutputPipe(pipeAdv, this); .. .. public void outputPipeEvent(OutputPipeEvent event) { OutputPipe op = event.getOutputPipe(); } }
OutputPipe: OuputPipe defines the interface for sending messages from a PipeService . Application that want to send messages onto a Pipe must fist get an OutputPipe from the PipeService .
InputPipe: InputPipe defines the interface for receiving messages from a PipeService . An application that wants to receive messages from a Pipe will create an input pipe. An InputPipe is created and returned by the PipeService
PipeID: This class implements a Pipe ID. Each pipe is assigned a unique id
OutputPipeEvent: Container for OutputPipeEvent events.
PipeMsgEvent: Container for Pipe Message events.
PipeTest

Home | Contact Us | Privacy Policy | Terms of Service