Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.jini.phoenix
Interface GroupOutputHandler

public interface GroupOutputHandler

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

Since:
  2.0

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

    public 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Sun Microsystems, Inc. All rights reserved