public class NotifyRequest extends SOAPRequest
This class extends SOAPRequest to handle GENA (General Event Notification Architecture) NOTIFY messages sent by UPnP devices to inform subscribers about state variable changes. It manages the creation and parsing of event notification messages.
Key features:
This class is used by UPnP devices to send event notifications to subscribed control points, informing them of changes in service state variables. It handles both single and multiple property changes in a single notification message.
| Constructor and Description |
|---|
NotifyRequest() |
NotifyRequest(HTTPRequest httpReq) |
| Modifier and Type | Method and Description |
|---|---|
PropertyList |
getPropertyList() |
long |
getSEQ() |
String |
getSID() |
void |
setNT(String value) |
void |
setNTS(String value) |
boolean |
setRequest(Subscriber sub,
String varName,
String value) |
void |
setSEQ(long value) |
void |
setSID(String id) |
getBodyNode, getEnvelopeNode, getSOAPAction, isSOAPAction, postMessage, print, setContent, setEnvelopeNode, setSOAPActiongetFirstLineString, getHeader, getHTTPVersion, getLocalAddress, getLocalPort, getMethod, getParameterList, getParameterValue, getRequestHost, getRequestPort, getSocket, getURI, isGetRequest, isHeadRequest, isKeepAlive, isMethod, isNotifyRequest, isPostRequest, isSOAPAction, isSubscribeRequest, isUnsubscribeRequest, parseRequestLine, post, post, post, read, returnBadRequest, returnOK, returnResponse, set, setBindHost, setMethod, setRequestHost, setRequestPort, setSocket, setURI, setURI, toStringaddHeader, addHeader, clearHeaders, getCacheControl, getCharSet, getConnection, getContent, getContentInputStream, getContentLanguage, getContentLength, getContentRange, getContentRangeFirstPosition, getContentRangeInstanceLength, getContentRangeLastPosition, getContentString, getContentType, getDate, getFirstLine, getFirstLineToken, getHeader, getHeader, getHeaderString, getHeaderValue, getHost, getIntegerHeaderValue, getLongHeaderValue, getNHeaders, getServer, getStringHeaderValue, getStringHeaderValue, getTransferEncoding, getVersion, hasConnection, hasContent, hasContentInputStream, hasContentRange, hasFirstLine, hasHeader, hasTransferEncoding, init, isChunked, isCloseConnection, isKeepAliveConnection, read, set, set, set, set, setCacheControl, setCacheControl, setCacheControl, setConnection, setContent, setContent, setContent, setContent, setContentInputStream, setContentLanguage, setContentLength, setContentRange, setContentType, setDate, setHeader, setHeader, setHeader, setHeader, setHost, setIntegerHeader, setLongHeader, setServer, setStringHeader, setStringHeader, setTransferEncoding, setVersionpublic NotifyRequest()
public NotifyRequest(HTTPRequest httpReq)
public PropertyList getPropertyList()
public long getSEQ()
public String getSID()
public void setNT(String value)
public void setNTS(String value)
public boolean setRequest(Subscriber sub, String varName, String value)
public void setSEQ(long value)
public void setSID(String id)