org.granite.messaging.jmf.codec
Interface ExtendedObjectCodec
- All Known Implementing Classes:
- ClientEntityCodec
public interface ExtendedObjectCodec
- Author:
- Franck WOLFF
canEncode
boolean canEncode(ExtendedObjectOutput out,
Object v)
getEncodedClassName
String getEncodedClassName(ExtendedObjectOutput out,
Object v)
encode
void encode(ExtendedObjectOutput out,
Object v)
throws IOException,
IllegalAccessException,
InvocationTargetException
- Throws:
IOException
IllegalAccessException
InvocationTargetException
canDecode
boolean canDecode(ExtendedObjectInput in,
String className)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
getDecodedClassName
String getDecodedClassName(ExtendedObjectInput in,
String className)
newInstance
Object newInstance(ExtendedObjectInput in,
String className)
throws IOException,
ClassNotFoundException,
InstantiationException,
IllegalAccessException,
InvocationTargetException,
SecurityException,
NoSuchMethodException
- Throws:
IOException
ClassNotFoundException
InstantiationException
IllegalAccessException
InvocationTargetException
SecurityException
NoSuchMethodException
decode
void decode(ExtendedObjectInput in,
Object v)
throws IOException,
ClassNotFoundException,
IllegalAccessException,
InvocationTargetException
- Throws:
IOException
ClassNotFoundException
IllegalAccessException
InvocationTargetException