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 by Sun Microsystems, Inc. 2N/A * All rights reserved. 2N/A// Author: James Kempf 2N/A// Created On: Thu Oct 9 16:15:36 1997 2N/A// Last Modified By: James Kempf 2N/A// Last Modified On: Tue Oct 27 10:57:38 1998 2N/A * The CSrvTypeMsg class models the SLP service type reply message. 2N/A * @author James Kempf 2N/A // Names contain both the service type and naming authority. 2N/A // Only used for testing. 2N/A // Construct a CSrvTypeMsg from the byte input stream. This will be 2N/A // Don't parse the rest if there's an error. 2N/A // Return if packet overflowed. 2N/A // Validate service types. 2N/A for (i =
0; i < n; i++) {
2N/A // Set the number of replies. 2N/A // Construct a CSrvTypeMsg from the arguments. This will be 2N/A // a SrvTypeRqst for transmission to the server. 2N/A "service_type_syntax",
2N/A // Set up previous responders. 2N/A // Parse out the naming authority name. 2N/A // Escape scope strings. 2N/A // Parse out the scope. 2N/A // Parse out the naming authority. 2N/A // Write out the naming authority.