SLPV1SSrvTypeMsg.java revision 9a70fc3be3b1e966bf78825cdb8d509963a6f0a1
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright (c) 1999 by Sun Microsystems, Inc.
* All rights reserved.
*
*/
// SLPV1SSrvTypeMsg.java: SLPV1 Compatibility SrvType message
// Author: James Kempf
// Created On: Mon Sep 14 10:49:05 1998
// Last Modified By: James Kempf
// Last Modified On: Tue Oct 27 10:57:39 1998
// Update Count: 11
//
/**
* The SLPV1SSrvTypeMsg class models the SLPv1 service type request message.
*
* @author James Kempf
*/
class SLPV1SSrvTypeMsg extends SSrvTypeMsg {
// Construct a SLPV1SSrvTypeMsg from the byte input stream. This will be
// a SrvTypeRqst.
throws ServiceLocationException, IOException {
}
throws ServiceLocationException, IOException {
// First get the previous responder.
// Now get naming authority.
// If it's IANA, make it be null.
namingAuthority = "";
}
// Finally get scope.
// Change unscoped to default.
}
// Construct description.
" naming authority=``" +
namingAuthority + "''\n");
}
// Construct a SSrvTypeMsg from the arguments. This will be a
// SrvTypeRply for transmission to client.
throws ServiceLocationException {
// Construct payload.
// Edit service type names to remove nonService: and abstract types.
int i;
}
}
return hdr;
}
}