mpi
Class GenericPacker
java.lang.Object
   mpi.GenericPacker
mpi.GenericPacker
- All Implemented Interfaces: 
- Packer
- Direct Known Subclasses: 
- GatherPackerBoolean, GatherPackerByte, GatherPackerChar, GatherPackerDouble, GatherPackerFloat, GatherPackerInt, GatherPackerLong, GatherPackerObject, GatherPackerShort
- public abstract class GenericPacker 
- extends java.lang.Object- implements Packer
 
| Method Summary | 
|  void | pack(Buffer mpjbuf,
     java.lang.Object buf,
     int offset,
     int count)
 | 
|  void | unpack(Buffer mpjbuf,
       int length,
       java.lang.Object buf,
       int offset,
       int count)
 | 
|  void | unpack(Buffer mpjbuf,
       java.lang.Object buf,
       int offset,
       int count)this method was not there, but putting it exactly as 
 pack method above offcourse changing pack to unpack.
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
GenericPacker
public GenericPacker(int extent,
                     int size)
pack
public void pack(Buffer mpjbuf,
                 java.lang.Object buf,
                 int offset,
                 int count)
          throws MPIException
- 
- Specified by:
- packin interface- Packer
 
- 
- Throws:
- MPIException
 
unpack
public void unpack(Buffer mpjbuf,
                   int length,
                   java.lang.Object buf,
                   int offset,
                   int count)
            throws MPIException
- 
- Specified by:
- unpackin interface- Packer
 
- 
- Throws:
- MPIException
 
unpack
public void unpack(Buffer mpjbuf,
                   java.lang.Object buf,
                   int offset,
                   int count)
            throws MPIException
- this method was not there, but putting it exactly as 
 pack method above offcourse changing pack to unpack.
 
- 
- Specified by:
- unpackin interface- Packer
 
- 
- Throws:
- MPIException