Home | History | Annotate | Download | only in imps
      1 /*
      2  * Copyright (C) 2007-2008 Esmertec AG.
      3  * Copyright (C) 2007-2008 The Android Open Source Project
      4  *
      5  * Licensed under the Apache License, Version 2.0 (the "License");
      6  * you may not use this file except in compliance with the License.
      7  * You may obtain a copy of the License at
      8  *
      9  *      http://www.apache.org/licenses/LICENSE-2.0
     10  *
     11  * Unless required by applicable law or agreed to in writing, software
     12  * distributed under the License is distributed on an "AS IS" BASIS,
     13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14  * See the License for the specific language governing permissions and
     15  * limitations under the License.
     16  */
     17 
     18 package com.android.im.imps;
     19 
     20 public interface ImpsTags {
     21     public static final String WV_CSP_Message = "WV-CSP-Message";
     22     public static final String XMLNS = "xmlns";
     23     public static final String Session = "Session";
     24     public static final String SessionDescriptor = "SessionDescriptor";
     25     public static final String SessionType = "SessionType";
     26     public static final String SessionID = "SessionID";
     27     public static final String Transaction = "Transaction";
     28     public static final String TransactionDescriptor = "TransactionDescriptor";
     29     public static final String TransactionMode = "TransactionMode";
     30     public static final String TransactionID = "TransactionID";
     31     public static final String TransactionContent = "TransactionContent";
     32     public static final String Poll = "Poll";
     33     public static final String CIR = "CIR";
     34 
     35     // Fundamental primitives and transactions
     36     public static final String Status = "Status";
     37     public static final String Polling_Request = "Polling-Request";
     38     public static final String Login_Request = "Login-Request";
     39     public static final String Login_Response = "Login-Response";
     40     public static final String Logout_Request = "Logout-Request";
     41     public static final String Disconnect = "Disconnect";
     42     public static final String KeepAlive_Request = "KeepAlive-Request";
     43     public static final String KeepAlive_Response = "KeepAlive-Response";
     44     public static final String Service_Request = "Service-Request";
     45     public static final String Service_Response = "Service-Response";
     46     public static final String ClientCapability_Request = "ClientCapability-Request";
     47     public static final String ClientCapability_Response = "ClientCapability-Response";
     48 //    public static final String GetSPInfo_Request = "GetSPInfo-Request";
     49 //    public static final String GetSPInfo_Response = "GetSPInfo-Response";
     50 //    public static final String GetSegment_Request = "GetSegment-Request";
     51 //    public static final String GetSegment_Response = "GetSegment-Response";
     52 //    public static final String DropSegment_Request = "DropSegment-Request";
     53 
     54     // Common primitives and transactions
     55     public static final String SubscribeNotification_Request = "SubscribeNotification-Request";
     56     public static final String UnsubscribeNotification_Request = "UnsubscribeNotification-Request";
     57     public static final String Invite_Request = "Invite-Request";
     58     public static final String Invite_Response = "Invite-Response";
     59     public static final String InviteUser_Request = "InviteUser-Request";
     60     public static final String InviteUser_Response = "InviteUser-Response";
     61     public static final String CancelInvite_Request = "CancelInvite-Request";
     62     public static final String CancelInviteUser_Request = "CancelInviteUser-Request";
     63 //    public static final String SystemMessage_Request = "SystemMessage-Request";
     64 //    public static final String SystemMessage_User = "SystemMessage-User";
     65 //    public static final String Notification_Request = "Notification-Request";
     66 //    public static final String GetPublicProfile_Request = "GetPublicProfile-Request";
     67 //    public static final String GetPublicProfile_Response = "GetPublicProfile-Response";
     68 //    public static final String UpdatePublicProfile_Request = "UpdatePublicProfile-Request";
     69 //    public static final String Search_Request = "Search-Request";
     70 //    public static final String Search_Response = "Search-Response";
     71 //    public static final String StopSearch_Request = "StopSearch-Request";
     72 //    public static final String GetMap_Request = "GetMap-Request";
     73 //    public static final String GetMap_Response = "GetMap-Response";
     74 //    public static final String VerifyID_Request = "VerifyID-Request";
     75 
     76     // Presence-related primitives and transactions
     77     public static final String GetList_Request = "GetList-Request";
     78     public static final String GetList_Response = "GetList-Response";
     79     public static final String CreateList_Request = "CreateList-Request";
     80     public static final String DeleteList_Request = "DeleteList-Request";
     81     public static final String ListManage_Request = "ListManage-Request";
     82     public static final String ListManage_Response = "ListManage-Response";
     83     public static final String CreateAttributeList_Request = "CreateAttributeList-Request";
     84     public static final String DeleteAttributeList_Request = "DeleteAttributeList-Request";
     85     public static final String GetAttributeList_Request = "GetAttributeList-Request";
     86     public static final String GetAttributeList_Response = "GetAttributeList-Response";
     87     public static final String SubscribePresence_Request = "SubscribePresence-Request";
     88     public static final String UnsubscribePresence_Request = "UnsubscribePresence-Request";
     89     public static final String PresenceNotification_Request = "PresenceNotification-Request";
     90     public static final String GetPresence_Request = "GetPresence-Request";
     91     public static final String GetPresence_Response = "GetPresence-Response";
     92     public static final String UpdatePresence_Request = "UpdatePresence-Request";
     93     public static final String GetBlockedList_Request = "GetBlockedList-Request";
     94     public static final String GetBlockedList_Response = "GetBlockedList-Response";
     95     public static final String BlockEntity_Request = "BlockEntity-Request";
     96     public static final String PresenceAuth_Request = "PresenceAuth-Request";
     97     public static final String PresenceAuthUser = "PresenceAuth-User";
     98     public static final String CancelAuth_Request = "CancelAuth-Request";
     99 //  public static final String GetWatcherList_Request = "GetWatcherList-Request";
    100 //  public static final String GetWatcherList_Response = "GetWatcherList-Response";
    101 
    102     // Messaging-related primitives and transactions
    103     public static final String SendMessage_Request = "SendMessage-Request";
    104     public static final String SendMessage_Response = "SendMessage-Response";
    105     public static final String NewMessage = "NewMessage";
    106     public static final String MessageDelivered = "MessageDelivered";
    107     public static final String MessageNotification = "MessageNotification";
    108     public static final String DeliveryReport_Request = "DeliveryReport-Request";
    109 //    public static final String SetDeliveryMethod_Request = "SetDeliveryMethod-Request";
    110 //    public static final String GetMessageList_Request = "GetMessageList-Request";
    111 //    public static final String GetMessageList_Response = "GetMessageList-Response";
    112 //    public static final String RejectMessage_Request = "RejectMessage-Request";
    113 //    public static final String GetMessage_Request = "GetMessage-Request";
    114 //    public static final String GetMessage_Response = "GetMessage-Response";
    115 //    public static final String ForwardMessage_Request = "ForwardMessage-Request";
    116 //    public static final String ForwardMessage_Response = "ForwardMessage-Response";
    117 //    public static final String ExtendConversation_Request = "ExtendConversation-Request";
    118 //    public static final String ExtendConversation_Response = "ExtendConversation-Response";
    119 
    120     // Group-related primitives and transactions
    121     public static final String CreateGroup_Request = "CreateGroup-Request";
    122     public static final String DeleteGroup_Request = "DeleteGroup-Request";
    123     public static final String JoinGroup_Request = "JoinGroup-Request";
    124     public static final String JoinGroup_Response = "JoinGroup-Response";
    125     public static final String LeaveGroup_Request = "LeaveGroup-Request";
    126     public static final String LeaveGroup_Response = "LeaveGroup-Response";
    127     public static final String GetGroupMembers_Request = "GetGroupMembers-Request";
    128     public static final String GetGroupMembers_Response = "GetGroupMembers-Response";
    129     public static final String GetJoinedUsers_Request = "GetJoinedUsers-Request";
    130     public static final String GetJoinedUsers_Response = "GetJoinedUsers-Response";
    131     public static final String AddGroupMembers_Request = "AddGroupMembers-Request";
    132     public static final String RemoveGroupMembers_Request = "RemoveGroupMembers-Request";
    133     public static final String SubscribeGroupNotice_Request = "SubscribeGroupNotice-Request";
    134     public static final String SubscribeGroupNotice_Response = "SubscribeGroupNotice-Response";
    135     public static final String GroupChangeNotice = "GroupChangeNotice";
    136 //    public static final String MemberAccess_Request = "MemberAccess-Request";
    137 //    public static final String GetGroupProps_Request = "GetGroupProps-Request";
    138 //    public static final String GetGroupProps_Response = "GetGroupProps-Response";
    139 //    public static final String SetGroupProps_Request = "SetGroupProps-Request";
    140 //    public static final String RejectList_Request = "RejectList-Request";
    141 //    public static final String RejectList_Response = "RejectList-Response";
    142 
    143     // Extension-related primitives and transactions
    144 //    public static final String Extended_Request = "Extended-Request";
    145 //    public static final String Extended_Response = "Extended-Response";
    146 
    147     public static final String UserID = "UserID";
    148     public static final String Password = "Password";
    149     public static final String Nonce = "Nonce";
    150     public static final String CapabilityRequest = "CapabilityRequest";
    151     public static final String KeepAliveTime = "KeepAliveTime";
    152     public static final String Code = "Code";
    153     public static final String Result = "Result";
    154     public static final String SessionCookie = "SessionCookie";
    155     public static final String DigestSchema = "DigestSchema";
    156     public static final String ClientID = "ClientID";
    157     public static final String URL = "URL";
    158     public static final String MSISDN = "MSISDN";
    159     public static final String TimeToLive = "TimeToLive";
    160     public static final String DigestBytes = "DigestBytes";
    161     public static final String Description = "Description";
    162     public static final String AllFunctionsRequest = "AllFunctionsRequest";
    163     public static final String AllFunctions = "AllFunctions";
    164     public static final String NotAvailableFunctions= "NotAvailableFunctions";
    165 
    166     // Presence Attribute
    167     public static final String PresenceSubList = "PresenceSubList";
    168     public static final String DefaultList = "DefaultList";
    169     public static final String DefaultAttributeList = "DefaultAttributeList";
    170 
    171     public static final String OnlineStatus = "OnlineStatus";
    172     public static final String ClientInfo = "ClientInfo";
    173     public static final String UserAvailability = "UserAvailability";
    174     public static final String StatusText = "StatusText";
    175     public static final String CommCap = "CommCap";
    176     public static final String CommC = "CommC";
    177     public static final String CAP = "Cap";
    178 
    179     // TODO: clean up these uncategorized tags
    180     public static final String DefaultContactList = "DefaultContactList";
    181     //public static final String ContactListIDList = "ContactListIDList";   // 1.3
    182     public static final String ContactList = "ContactList";
    183     public static final String ReceiveList = "ReceiveList";
    184     public static final String ContactListProperties = "ContactListProperties";
    185     public static final String Property = "Property";
    186     public static final String Name = "Name";
    187     public static final String Value = "Value";
    188     public static final String AcceptedContentType = "AcceptedContentType";
    189     public static final String NickList = "NickList";
    190     public static final String NickName = "NickName";
    191     public static final String CapabilityList = "CapabilityList";
    192     public static final String AgreedCapabilityList = "AgreedCapabilityList";
    193     public static final String ClientType = "ClientType";
    194     public static final String ParserSize = "ParserSize";
    195     public static final String MultiTrans = "MultiTrans";
    196     public static final String MultiTransPerMessage = "MultiTransPerMessage";
    197     public static final String InitialDeliveryMethod = "InitialDeliveryMethod";
    198     public static final String ServerPollMin = "ServerPollMin";
    199     public static final String MessageInfo = "MessageInfo";
    200     public static final String User = "User";
    201     public static final String DeliveryReport = "DeliveryReport";
    202     public static final String ContentSize = "ContentSize";
    203     public static final String Sender = "Sender";
    204     public static final String Recipient = "Recipient";
    205     public static final String ContentData = "ContentData";
    206     public static final String MessageID = "MessageID";
    207     public static final String CIRHTTPAddress = "CIRHTTPAddress";
    208     public static final String DefaultLanguage = "DefaultLanguage";
    209     public static final String TCPPort = "TCPPort";
    210     public static final String TCPAddress = "TCPAddress";
    211     public static final String UDPPort = "UDPPort";
    212     public static final String SupportedCIRMethod = "SupportedCIRMethod";
    213     public static final String SupportedBearer = "SupportedBearer";
    214     public static final String Default = "Default";
    215     public static final String ContentType = "ContentType";
    216     public static final String ContentEncoding = "ContentEncoding";
    217     public static final String DateTime = "DateTime";
    218     public static final String Font = "Font";
    219     public static final String Size = "Size";
    220     public static final String Style = "Style";
    221     public static final String Color = "Color";
    222     public static final String Validity = "Validity";
    223     public static final String Group = "Group";
    224     public static final String GroupID = "GroupID";
    225     public static final String AutoDelete = "AutoDelete";
    226     public static final String Searchable = "Searchable";
    227     public static final String PrivateMessaging = "PrivateMessaging";
    228     public static final String Accesstype = "Accesstype";
    229     public static final String SubscribeNotification = "SubscribeNotification";
    230     public static final String JoinGroup = "JoinGroup";
    231     public static final String GroupProperties = "GroupProperties";
    232     public static final String SName = "SName";
    233     public static final String Admin = "Admin";
    234     public static final String Mod = "Mod";
    235     public static final String UserList = "UserList";
    236     public static final String UserIDList = "UserIDList";
    237     public static final String JoinedRequest = "JoinedRequest";
    238     public static final String ScreenName = "ScreenName";
    239     public static final String InviteID = "InviteID";
    240     public static final String InviteType = "InviteType";
    241     public static final String Joined = "Joined";
    242     public static final String Left = "Left";
    243     public static final String UserMapList = "UserMapList";
    244     public static final String InviteNote = "InviteNote";
    245     public static final String Acceptance = "Acceptance";
    246     public static final String AddNickList = "AddNickList";
    247     public static final String RemoveNickList = "RemoveNickList";
    248     public static final String Presence = "Presence";
    249     public static final String Qualifier = "Qualifier";
    250     public static final String PresenceValue = "PresenceValue";
    251     public static final String BlockList = "BlockList";
    252     public static final String InUse = "InUse";
    253     public static final String EntityList = "EntityList";
    254     public static final String GrantList = "GrantList";
    255     public static final String AddList = "AddList";
    256     public static final String RemoveList = "RemoveList";
    257     public static final String BlockListInUse = "BlockListInUse";
    258     public static final String GrantListInUse = "GrantListInUse";
    259     public static final String ClientProducer = "ClientProducer";
    260     public static final String ClientVersion = "ClientVersion";
    261     public static final String AutoSubscribe = "AutoSubscribe";
    262     public static final String StatusContent = "StatusContent";
    263     public static final String DirectContent = "DirectContent";
    264     public static final String ReferredContent = "ReferredContent";
    265     public static final String AcceptedContentLength = "AcceptedContentLength";
    266     public static final String Functions = "Functions";
    267     public static final String WVCSPFeat = "WVCSPFeat";
    268     public static final String FundamentalFeat = "FundamentalFeat";
    269     public static final String PresenceFeat = "PresenceFeat";
    270     public static final String IMFeat = "IMFeat";
    271     public static final String GroupFeat = "GroupFeat";
    272     public static final String CIRURL = "CIRURL";
    273 }
    274