What is the difference between "is_connected" and "is_online" status?

Asked by PrivateUser132781

I was wondering how to interpret this output. In the example below, the first output shows staus "is_connected"=Trye and "is_online" not, but in the second, both are True. What has changed?

$ dbus-send --session --print-reply --dest=com.ubuntuone.SyncDaemon --type=method_call /status com.ubuntuone.SyncDaemon.Status.current_statusmethod return sender=:1.141 -> dest=:1.149 reply_serial=2
   array [
      dict entry(
         string "is_error"
         string ""
      )
      dict entry(
         string "is_connected"
         string "True"
      )
      dict entry(
         string "name"
         string "SCANNING_WITH_BOTHQ"
      )
      dict entry(
         string "is_online"
         string ""
      )
      dict entry(
         string "description"
         string "doing server rescan, BOTHQ waiting"
      )
   ]

Later:

$ dbus-send --session --print-reply --dest=com.ubuntuone.SyncDaemon --type=method_call /status com.ubuntuone.SyncDaemon.Status.current_statusmethod return sender=:1.141 -> dest=:1.155 reply_serial=2
   array [
      dict entry(
         string "is_error"
         string ""
      )
      dict entry(
         string "is_connected"
         string "True"
      )
      dict entry(
         string "name"
         string "START_WORKING_ON_BOTH"
      )
      dict entry(
         string "is_online"
         string "True"
      )
      dict entry(
         string "description"
         string "start working on both content and metadata"
      )
   ]

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu One Client Edit question
Assignee:
No assignee Edit question
Solved by:
John Lenton
Solved:
Last query:
Last reply:
Revision history for this message
Best John Lenton (chipaca) said :
#1

On Thu, Dec 10, 2009 at 10:55:08PM -0000, Eduard Grebe wrote:
> New question #93638 on Ubuntu One Client:
> https://answers.edge.launchpad.net/ubuntuone-client/+question/93638
>
> I was wondering how to interpret this output. In the example below, the first output shows staus "is_connected"=Trye and "is_online" not, but in the second, both are True. What has changed?

"connected" means that the syncdaemon has established a connection
with the server. "online" means that the client has done the
protocol/capabilities handshake, authenticated, and done the server
rescan, and is thus ready for work (and possibly already working).

Revision history for this message
PrivateUser132781 (privateuser132781-deactivatedaccount) said :
#2

Thanks John Lenton, that solved my question.