Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Eclipse Paho MQTT Client support for J2ME

Hi,

Correct.

The Paho client provides an interface called NetworkModule. It comes
with implementations for TCP and SSL (ignore the Local one). You would
need to create an implementation suitable for J2ME's networking layer
and update ClientComms so that it instantiates the correct
NetworkModule for the platform.

Cheers,
Nick


On 19 April 2012 11:47, Arpitha KR <krarpitha@xxxxxxxxx> wrote:
> Hello Nick,
>
> Thank you very much for your quick response. I assume IBM MQ Telemetry
> client is paid version and IA92 is not available currently.
>
> So I think porting Eclipse Paho MQTT Client is the only option I have.
> Please confirm.
>
> Thanks again for your response,
> Arpitha
>
>
>
>
> On Thu, Apr 19, 2012 at 3:57 PM, Nicholas O'Leary <nick.oleary@xxxxxxxxx> wrote:
>> Hi,
>>
>> no the client does not support J2ME.
>>
>> With the IBM MQ Telemetry client the Paho code is based on, I had
>> produced a J2ME version of the client for internal use - but it never
>> got picked up. So whilst I cannot share that with you, I can say that
>> it is fairly straightforward to port the client over.
>>
>> The two areas that need changing for J2ME are the File-based
>> persistence implementation and the network layer. Other than that, I
>> believe the code is J2ME compliant (although it was a couple years ago
>> that I did my J2ME version, so I may not be remembering all the fine
>> detail).
>>
>> Regards,
>> Nick
>>
>>
>>
>>
>>
>>
>>
>> On 19 April 2012 11:14, Arpitha KR <krarpitha@xxxxxxxxx> wrote:
>>> Hello all,
>>>
>>>  I am planning to use Eclipse Paho MQTT client for J2ME application.
>>> Could you please let me know if  Eclipse Paho MQTT client supports
>>> J2ME?
>>>
>>> Thanks in advance
>>> _______________________________________________
>>> paho-dev mailing list
>>> paho-dev@xxxxxxxxxxx
>>> http://dev.eclipse.org/mailman/listinfo/paho-dev
>> _______________________________________________
>> paho-dev mailing list
>> paho-dev@xxxxxxxxxxx
>> http://dev.eclipse.org/mailman/listinfo/paho-dev
> _______________________________________________
> paho-dev mailing list
> paho-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/paho-dev


Back to the top