org.objectweb.dream.message
Interface ChunkType

All Known Implementing Classes:
BasicChunkType

public interface ChunkType

A component chunk type. Such a type is made of a list of method signatures, which describes the methods provided by this chunk.


Method Summary
 String getChunkSignature()
          Returns the signatures of the methods provided by chunks of this type.
 boolean isSubTypeOf(ChunkType t)
          Returns true if this chunk type if a sub type of the given chunk type.
 

Method Detail

getChunkSignature

public String getChunkSignature()
Returns the signatures of the methods provided by chunks of this type. In Java this method returns the fully qualified name of a Java interface corresponding to these method signatures.

Returns:
the signatures of the methods provided by chunks of this type.

isSubTypeOf

public boolean isSubTypeOf(ChunkType t)
Returns true if this chunk type if a sub type of the given chunk type.

Parameters:
t - a chunk type
Returns:
true if this chunk type if a sub type of the given chunk type.


Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.