KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jac > core > dist > utils > DistdArray


1 /*
2   Renaud Pawlak, pawlak@cnam.fr, CEDRIC Laboratory, Paris, France.
3   Lionel Seinturier, Lionel.Seinturier@lip6.fr, LIP6, Paris, France.
4
5   JAC-Core is free software. You can redistribute it and/or modify it
6   under the terms of the GNU Library General Public License as
7   published by the Free Software Foundation.
8   
9   JAC-Core is distributed in the hope that it will be useful, but
10   WITHOUT ANY WARRANTY; without even the implied warranty of
11   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12
13   This work uses the Javassist system - Copyright (c) 1999-2000
14   Shigeru Chiba, University of Tsukuba, Japan. All Rights Reserved. */

15
16 package org.objectweb.jac.core.dist.utils;
17
18 import java.io.Serializable JavaDoc;
19
20 /**
21  * DistdArray is an utility class used to marshall/unmarshall array objects
22  * in remote invocations.
23  *
24  * @author <a HREF="http://cedric.cnam.fr/~pawlak/index-english.html">Renaud Pawlak</a>
25  * @author <a HREF="http://www-src.lip6.fr/homepages/Lionel.Seinturier/index-eng.html">Lionel Seinturier</a>
26  */

27
28 public class DistdArray implements Serializable JavaDoc {
29
30       /** The class name of the array elements. */
31       String JavaDoc componentTypeName;
32    
33       /** The length of the array. */
34       int length;
35    
36       public DistdArray( String JavaDoc componentTypeName, int length ) {
37          this.componentTypeName = componentTypeName;
38          this.length = length;
39       }
40
41       public String JavaDoc getComponentTypeName() { return componentTypeName; }
42       public int getLength() { return length; }
43 }
44
Popular Tags