|
Re: Sending data from custom java agent [message #108276 is a reply to message #108185] |
Fri, 10 August 2007 09:04 |
Eclipse User |
|
|
|
Originally posted by: jacek.pospychala.pl.ibm.com
Jiri,
I don't know direct answers to your questions, but just few days ago
someone else asked how to create an agent and got a set of links to
quite interesting documents, that may help you find the answer. Please
look at "Creating a statistical agent" topic. There is some example
source code too.
Hope this helps.
Jiri Bjalek wrote:
> Hello,
> I'm trying to develop Java agent but I have problem with sending data
> from agent to client. My agent is inherited from BaseAgent and I'm
> using super.sendData(destID, "myData".toCharArray()) call. Everything
> seems good but in client this data message pops up in incomingData
> method in form of byte array. In this byte array there are chars
> represented by low byte and hi byte but the message is not complete,
> some characters are missing. The number of missing characters depends
> on length of message. Can you help me with this issue?
>
> Can you give me some clues about correct Agent - Agent Controller
> lifecycle (when can i register deregister from AC and so)
>
> Thank you for your answer
> Jiri
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03351 seconds