SSrvReg.java revision 2
2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright (c) 1999, 2001 by Sun Microsystems, Inc. 2N/A * All rights reserved. 2N/A// Author: James Kempf 2N/A// Created On: Thu Oct 9 14:47:48 1997 2N/A// Last Modified By: Jason Goldschmidt 2N/A// Last Modified On: Thu Apr 5 14:46:29 2001 2N/A * The SSrvReg class models the server side SLP service registration. The 2N/A * default class does SLPv2 regs, but subclasses can do other versions 2N/A * by redefining the initialize() and makeReply() messages. 2N/A * @author James Kempf 2N/A // Construct a SSrvReg from the input stream. 2N/A // Initialize the object from the input stream. 2N/A // Parse in the service URL 2N/A // Parse in service type name. 2N/A // Validate and set URL type. 2N/A // Parse in the scope list. 2N/A // Parse in the attribute list. 2N/A " service type=``" +
2N/A " attribute list=``" +
2N/A " attribute signature=" +
2N/A // Return a SrvAck. We ignore the existing flag, since in V2, fresh comes 2N/A // in. In this case, all we need to do is clone the header. 2N/A // Construct description.