Wireless Communication Library Support Forum

Frameworks => Bluetooth Framework => Topic started by: craigTheBrit on May 04, 2009, 12:43:58 PM

Title: Sending a reply from an Object Push Server
Post by: craigTheBrit on May 04, 2009, 12:43:58 PM
One more thing: my J2ME client has connected to the Windows server and uploaded its data, which has then been processed. I now want to return data to the phone, which uses the following and expects a reply:

Code: [Select]
Operation getOperation = clientSession.get(replySet);                       

DataInputStream dis = getOperation.openDataInputStream();

... do stuff with "dis" ...

getOperation.close();


Both "Operation"s are inside one ClientSession connection, so I shouldn't need to disconnect before replying, right?

Which component can I use to send a message back to the phone? Can the ObjectPushServer do it?
Title: Re: Sending a reply from an Object Push Server
Post by: Mike Petrichenko on May 04, 2009, 12:45:36 PM
In BTF OPP server can only receive the data. You can use simple server or opp client