Skip to main content

CommPacketHandler and CommunicationHandler

No replies
dtrounine
Offline
Joined: 2006-11-28
Points: 0

Hi ME Framework experts,

I've noticed there are two identical interfaces in ME Framework:
com.sun.tck.j2me.communication.CommPacketHandler
and
com.sun.tck.j2me.services.commService.CommunicationHandler

They both define one method:
byte[] handlePacket(String connID, byte[] packet);

So, my question is: why there are two identical interfaces? How they should be used?

Thanks,
Dmitri.