1 // Copyright 2008 Google Inc. All Rights Reserved.
3 package com
.google
.appengine
.api
.xmpp
;
5 import java
.util
.HashMap
;
9 * Represents results of sending a message.
11 * @author kushal@google.com (Kushal Dave)
13 public final class SendResponse
{
15 private final Map
<JID
, Status
> statusMap
=
16 new HashMap
<JID
, Status
>();
18 public SendResponse() { }
20 public void addStatus(JID jabberId
, Status status
) {
21 statusMap
.put(jabberId
, status
);
24 public Map
<JID
, Status
> getStatusMap() {
29 * Possible per-id responses to sending a message.