Solaris Bandwidth Manager 1.6 Developer Guide

Preface

This book describes the C and Java application programming interfaces provided with SolarisTMBandwidth Manager 1.6.


Note -

The SolarisTM operating environment runs on two types of hardware, or platforms - SPARCTM and IA. The Solaris operating environment also runs on both 64-bit and 32-bit address spaces. The information in this document pertains to both platforms and address spaces unless called out in a special chapter, section, note, bullet, figure, table, example, or code example.


Who Should Use This Book

This book is for programmers developing applications that interact with Solaris Bandwidth Manager.

How This Book Is Organized

Chapter 1, Introduction introduces the programming interfaces included with Solaris Bandwidth Manager, and gives examples of how they can be used.

Chapter 2, Using the Java Interfaces explains how to use the JavaTM interfaces included with Solaris Bandwidth Manager. Reference material for these interfaces is provided in JavaDocTM format.

Chapter 3, Using the C Statistics API explains how to use the C programming interface included with Solaris Bandwidth Manager.

Chapter 4, C Statistics API Reference contains reference material for the C API.

Related Books

Standards Reference

Solaris Bandwidth Manager is based on the following Internet standards and proposed standards:

Ordering Sun Documents

Fatbrain.com, an Internet professional bookstore, stocks select product documentation from Sun MicrosystemsTM, Inc.

For a list of documents and how to order them, visit the Sun Documentation Center on Fatbrain.com at http://www1.fatbrain.com/documentation/sun.

Accessing Sun Documentation Online

The docs.sun.comSM Web site enables you to access Sun technical documentation online. You can browse the docs.sun.com archive or search for a specific book title or subject. The URL is http://docs.sun.com.

What Typographic Conventions Mean

The following table describes the typographic changes used in this book.

Table P-1 Typographic Conventions

Typeface or Symbol 

Meaning 

Example 

AaBbCc123

 The names of commands, files, and directories; on-screen computer output

Edit your .login file.

Use ls -a to list all files.

machine_name% you have mail.

AaBbCc123

 What you type, contrasted with on-screen computer outputmachine_name% su Password:

AaBbCc123

 Command-line placeholder: replace with a real name or value

To delete a file, type rm filename.

AaBbCc123

Book titles, new words, or terms, or words to be emphasized. 

Read Chapter 6 in User's Guide.

These are called class options.

You must be root to do this.

Shell Prompts in Command Examples

The following table shows the default system prompt and superuser prompt for the C shell, Bourne shell, and Korn shell.

Table P-2 Shell Prompts

Shell 

Prompt 

 C shell promptmachine_name%
 C shell superuser promptmachine_name#
 Bourne shell and Korn shell prompt$
 Bourne shell and Korn shell superuser prompt#