Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » Kura Service for listen on specific port
Kura Service for listen on specific port [message #1725142] Tue, 01 March 2016 09:08 Go to next message
Abel Gr is currently offline Abel GrFriend
Messages: 13
Registered: January 2016
Junior Member
Hi everyone,

I want to create a Kura service to listen on specific. It will get any information when a client post to this port.
Please let me know how to dev it?
Could I create a web socket on Kura Service and how to do that?
Thanks & best regards,

Phuong
Re: Kura Service for listen on specific port [message #1725401 is a reply to message #1725142] Thu, 03 March 2016 10:09 Go to previous message
Matteo Maiero is currently offline Matteo MaieroFriend
Messages: 423
Registered: July 2015
Location: Italy
Senior Member
Hi Phuong,
I think that the best solution is to wrap Java code that listens on a specific port into the usual OSGi bundle structure.
For example this [1] can be a useful example.

Best regards,
Matteo

[1] http://docs.oracle.com/javase/tutorial/networking/sockets/clientServer.html
Previous Topic:Bluetooth problem on Intel DK100 Gateway
Next Topic:Not able to stop bundle
Goto Forum:
  


Current Time: Thu Mar 28 19:45:21 GMT 2024

Powered by FUDForum. Page generated in 0.04190 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top