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.
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 groupdesc
- the activation group descriptor of the groupincarnation
- the current incarnation number of the groupname
- the name of the group, in the form "Group-n"out
- a stream that produces the standard output of the grouperr
- 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.