GigaSpaces XAP 9.7.2 API

net.jini.discovery
Class OutgoingUnicastResponse

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

public class OutgoingUnicastResponse
extends Object

Encapsulate the details of marshaling a unicast response.

Author:
Sun Microsystems, Inc.
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

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.