|
From: <se...@se...> - 2001-12-18 06:08:21
|
>I got a question about sync4j.framework.server.AbstractRequestProcessor.=
>In AbstractRequestProcessor class, the message processing method is like=
>this.
>
>protected abstract sync4j.core.Message processMessage(
> final sync4j.core.Message msg)
> throws java.io.IOException;
>
>But in some cases, the sync 'engine' should know the output encoding typ=
e
>(XML or WBXML). 'Cause if one should send multiple messages in a package=
,
>it should be able to determine how many items may be sent in a message,
and
>it depends on encoding type of sending message.
>Any Idea?
The message processing code is in the process of changing.
AbstractRequestProcessor is currently out of date.
Please take a look at
sync4j.server.syncbean.SyncBean
The SyncBean class has this method:
public byte[] processMessage(
byte[] yaMsg,
java.lang.String strMimeType)
The code will continue to evolve. I plan on updating
AbstractRequestProcessor soon.
Regards,
-Sean
|