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

## net.jini.discovery
Class OutgoingUnicastResponse

    java.lang.Object
      net.jini.discovery.OutgoingUnicastResponse

public class OutgoingUnicastResponse
extends Object

Encapsulate the details of marshaling a unicast response.

See Also:
  `IncomingUnicastResponse`

Field Summary
`protected int` | `protoVersion` The current version of the unicast discovery protocol.

Constructor Summary
`OutgoingUnicastResponse()`

Method Summary
`static void` | `marshal(OutputStream str, ServiceRegistrar reg, String[] groups)` Marshal a unicast response to the given output stream.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### protoVersion

    protected int protoVersion

  The current version of the unicast discovery protocol.

Constructor Detail

### OutgoingUnicastResponse

    public OutgoingUnicastResponse()

Method Detail

### marshal

    public static void marshal(OutputStream str,
                               ServiceRegistrar reg,
                               String[] groups)
                        throws IOException

  Marshal a unicast response to the given output stream. The stream is flushed afterwards.

  Parameters:
    `str` - the stream to marshal to
    `reg` - the registrar object to marshal
    `groups` - the groups in which the registrar is currently a member
  Throws:
    `IOException` - a problem occurred during marshaling

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