com.sun.jini.phoenix
Interface GroupOutputHandler


public interface GroupOutputHandler

Defines the interface for handlers of the output of activation group processes.

Since:
2.0
Author:
Sun Microsystems, Inc.

Method Summary
 void handleOutput(ActivationGroupID id, ActivationGroupDesc desc, long incarnation, String name, InputStream out, InputStream err)
          Handles the output from an activation group process.
 

Method Detail

handleOutput

void handleOutput(ActivationGroupID id,
                  ActivationGroupDesc desc,
                  long incarnation,
                  String name,
                  InputStream out,
                  InputStream err)
Handles the output from an activation group process. The data from each of the specified streams must be read (asynchronously after this method returns) until EOF is reached, and processed in whatever manner is deemed appropriate by the handler.

Parameters:
id - the activation group identifier of the group
desc - the activation group descriptor of the group
incarnation - the current incarnation number of the group
name - the name of the group, in the form "Group-n"
out - a stream that produces the standard output of the group
err - a stream that produces the error output of the group


Copyright 2007, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.