I have the following code in my IntentService to send a Message to the registered clients:
for(Messenger client : clients) {
client.send(aMessage);
}
According to the documentation of send(), this method can throw a RemoteException, a DeadObjectException specifically.
From the documentation of DeadObjectException:
The object you are calling has died, because its hosting process no longer exists.
If i understand correctly, this means that if my clients are all from the Service's process, (theoretically) this Exception will never be thrown.
Am i correct?
Thanks in advance.