SSrvTypeMsg.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 by Sun Microsystems, Inc. 2N/A * All rights reserved. 2N/A// Author: James Kempf 2N/A// Created On: Thu Oct 9 14:29:22 1997 2N/A// Last Modified By: James Kempf 2N/A// Last Modified On: Tue Oct 27 10:57:38 1998 2N/A * The SSrvTypeMsg class models the SLP service type request message. 2N/A * @author James Kempf 2N/A // Construct a SSrvTypeMsg from the byte input stream. This will be 2N/A // Initialize the message. 2N/A // First get the previous responder. 2N/A // Now get naming authority. 2N/A // Error if equals IANA. 2N/A // Finally get scopes. 2N/A // Construct description. 2N/A " naming authority=``" +
2N/A // Parse a naming authority name and verify. 2N/A // Handle the special cases of no naming authority or 2N/A // Convert to string. 2N/A // Construct a SSrvTypeMsg from the arguments. This will be a 2N/A // SrvTypeRply for transmission to client. 2N/A // Construct payload. 2N/A // Construct description.