All Packages  This Package  Class Hierarchy  Class Search  Index

Class posix.IPC
java.lang.Object
   |
   +----posix.IPC

  Summary

public abstract class  IPC
     extends java.lang.Object
{
          // Fields 13
     public static final int IPC_ALLOC;
     public static final int IPC_CI;
     public static final int IPC_CREAT;
     public static final int IPC_EXCL;
     public static final int IPC_NOCLEAR;
     public static final int IPC_NOWAIT;
     public static final int IPC_PHYS;
     static final int IPC_RMID;
     static final int IPC_SET;
     static final int IPC_STAT;
     protected int id;
     protected boolean owner;
     public static final int pid;

          // Constructors 1
     public IPC();

          // Methods 6
     public static native int ftok(String, int);
     public static boolean isPidValid(int);

     public synchronized void dispose();
     public void finalize();
     public abstract IPC.Perm getPerm() throws IPCException;
     public abstract void remove();

          // Inner Classes 1
     public static class IPC.Perm
}

The base class of the SysV derived posix IPC methods.

Author:
Stuart D. Gathman Copyright (C) 1998 Business Management Systems, Inc.

This code is distributed under the GNU Library General Public License

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.

You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.


  Cross Reference

Extended By:
MsgQ, SemSet, SharedMem





  Fields

· id

Summary  |  Top
   protected int id


· owner

Summary  |  Top
   protected boolean owner


· IPC_RMID

Summary  |  Top
   static final int IPC_RMID


· IPC_SET

Summary  |  Top
   static final int IPC_SET


· IPC_STAT

Summary  |  Top
   static final int IPC_STAT


· pid

Summary  |  Top
   public static final int pid

The posix process id for the process of this JVM.


· IPC_ALLOC

Summary  |  Top
   public static final int IPC_ALLOC

Mode bits for various IPC functions.


· IPC_CREAT

Summary  |  Top
   public static final int IPC_CREAT

Mode bits for various IPC functions.


· IPC_EXCL

Summary  |  Top
   public static final int IPC_EXCL

Mode bits for various IPC functions.


· IPC_NOWAIT

Summary  |  Top
   public static final int IPC_NOWAIT

Mode bits for various IPC functions.


· IPC_CI

Summary  |  Top
   public static final int IPC_CI

Mode bits for various IPC functions.


· IPC_NOCLEAR

Summary  |  Top
   public static final int IPC_NOCLEAR

Mode bits for various IPC functions.


· IPC_PHYS

Summary  |  Top
   public static final int IPC_PHYS

Mode bits for various IPC functions.


  Constructors

· IPC

Summary  |  Top

   public IPC() 

Default constructor



  Methods

· isPidValid

Summary  |  Top
   public static boolean isPidValid(int pid) 


· ftok

Summary  |  Top
   public static native int ftok(String path, 
                                 int id) 

Return an IPC key from a pathname and an id.



· getPerm

Summary  |  Top
   public abstract IPC.Perm getPerm()  throws IPCException

Return the permissions for this IPC data structure.



· remove

Summary  |  Top
   public abstract void remove() 

Remove this IPC data structure from the system.



· dispose

Summary  |  Top
   public synchronized void dispose() 


· finalize

Summary  |  Top
   public void finalize() 
Overrides:
finalize in class Object


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7