Author Topic: Sending a reply from an Object Push Server  (Read 12686 times)

craigTheBrit

  • Guest
Sending a reply from an Object Push Server
« 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?

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: Sending a reply from an Object Push Server
« Reply #1 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

 

Sitemap 1 2 3 4 5 6 7