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.
- Author:
- Sun Microsystems, Inc.
- See Also:
IncomingUnicastResponse
Field Summary |
protected int |
protoVersion
The current version of the unicast discovery protocol. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
protoVersion
protected int protoVersion
- The current version of the unicast discovery protocol.
OutgoingUnicastResponse
public OutgoingUnicastResponse()
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 toreg
- the registrar object to marshalgroups
- the groups in which the registrar is currently a
member
- Throws:
IOException
- a problem occurred during marshaling
Copyright © GigaSpaces.