Package org.jivesoftware.smack.packet
Interface IqView
-
- All Superinterfaces:
StanzaView,XmlLangElement
- All Known Subinterfaces:
AdHocCommandDataView,DiscoverInfoView,TimeView,VersionView
- All Known Implementing Classes:
AbstractHttpOverXmpp,AbstractIqBuilder,AdHocCommandData,AdHocCommandDataBuilder,AgentChatHistory,AgentInfo,AgentStatusRequest,AgentWorkgroups,Bind,BlockContactsIQ,BlockListIQ,BoBIQ,Bytestream,Carbon.Disable,Carbon.Enable,ChatMetadata,ChatNotes,ChatSettings,ClearCache,ClearCacheResponse,Close,Data,DepartQueuePacket,DisablePushNotificationsIQ,DiscoverInfo,DiscoverInfoBuilder,DiscoverItems,DnsIq,EmptyResultIQ,EnablePushNotificationsIQ,ErrorIQ,ErrorIQ.Builder,GenericSettings,HttpOverXmppReq,HttpOverXmppResp,IoTClaimed,IoTDataReadOutAccepted,IoTDataRequest,IoTDisown,IoTDisowned,IoTIsFriend,IoTIsFriendResponse,IoTMine,IoTRegister,IoTRemove,IoTRemoved,IoTSetRequest,IoTSetResponse,IoTUnregister,IQ,IqBuilder,IqData,JidPrepIq,Jingle,Jingle,Jingle.Builder,LastActivity,Macros,MamFinIQ,MamPrefsIQ,MamQueryIQ,MonitorPacket,MUCAdmin,MUCLightAffiliationsIQ,MUCLightBlockingIQ,MUCLightChangeAffiliationsIQ,MUCLightConfigurationIQ,MUCLightCreateIQ,MUCLightDestroyIQ,MUCLightGetAffiliationsIQ,MUCLightGetConfigsIQ,MUCLightGetInfoIQ,MUCLightInfoIQ,MUCLightSetConfigsIQ,MUCOwner,OccupantsInfo,OfferConfirmation,OfferRequestProvider.OfferRequestPacket,OfferRevokeProvider.OfferRevokePacket,OfflineMessageRequest,OfflineSettings,Open,Ping,Privacy,PrivateDataIQ,PubSub,Registration,RoomInvitation.RoomInvitationIQ,RoomTransfer.RoomTransferIQ,RosterPacket,RTPBridge,SearchSettings,Session,SharedGroupsInfo,SimpleIQ,Slot,Slot_V0_2,SlotRequest,SlotRequest_V0_2,SoundSettings,StreamInitiation,STUN,Time,TimeBuilder,Transcript,Transcripts,TranscriptSearch,UnblockContactsIQ,UnparsedIQ,UserSearch,VCard,Version,VersionBuilder,WorkgroupForm,WorkgroupProperties
public interface IqView extends StanzaView
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description IQ.TypegetType()Returns the type of the IQ packet.default booleanisRequestIQ()Return true if this IQ is a request IQ, i.e.default booleanisResponseIQ()Return true if this IQ is a request, i.e.-
Methods inherited from interface org.jivesoftware.smack.packet.StanzaView
getError, getExtension, getExtension, getExtensions, getExtensions, getExtensions, getFrom, getStanzaId, getTo, hasExtension, hasExtension, hasExtension
-
Methods inherited from interface org.jivesoftware.smack.packet.XmlLangElement
getLanguage
-
-
-
-
Method Detail
-
isRequestIQ
default boolean isRequestIQ()
Return true if this IQ is a request IQ, i.e. an IQ of typeIQ.Type.getorIQ.Type.set.- Returns:
- true if IQ type is 'get' or 'set', false otherwise.
- Since:
- 4.1
-
isResponseIQ
default boolean isResponseIQ()
Return true if this IQ is a request, i.e. an IQ of typeIQ.Type.resultorIQ.Type.error.- Returns:
- true if IQ type is 'result' or 'error', false otherwise.
- Since:
- 4.4
-
-