create OTD dinamically?

Hi I have a tcp-ip connection, I receive a variable bytes message. According that I want create a OTD with this message? How can I do it?Thanks
[164 byte] By [conector] at [2007-11-26 10:39:53]
# 1
As far as I know, this cannot be done. Why would you want to do this?
AKsuited at 2007-7-7 2:51:19 > top of Java-index,Java Enterprise System,Java Composite Application Platform Suite -- General Discussion...
# 2
HiThanks for your reply.I want to do it, because I receive a bytes messages, which is variable, I want map it to an otd, but i don't create an otd for echa bytes message.Maybe can i use delimiters ?Thanks
conector at 2007-7-7 2:51:19 > top of Java-index,Java Enterprise System,Java Composite Application Platform Suite -- General Discussion...
# 3

Even if you could do this, it would be no easier to dynamically generate a suitable OTDs to unmarshal the bytes than it would be to statically generate them and then determine which to use at runtime. How many different byte array structures are you dealing with? How big are they? How many fields in each? What piece of data in each byte array will tell you which structure to use?

AKsuited at 2007-7-7 2:51:19 > top of Java-index,Java Enterprise System,Java Composite Application Platform Suite -- General Discussion...