Package org.jupnp.model.message
Klasse IncomingDatagramMessage<O extends UpnpOperation>
java.lang.Object
org.jupnp.model.message.UpnpMessage<O>
org.jupnp.model.message.IncomingDatagramMessage<O>
- Bekannte direkte Unterklassen:
IncomingNotificationRequest,IncomingSearchRequest,IncomingSearchResponse
A received UDP datagram request or response message, with source address and port.
Additionally, holds a local address that is reachable from the source address (in the same subnet):
- When an M-SEARCH is received, we send a LOCATION header back with a reachable (by the remote control point) local address.
- When a NOTIFY discovery message (can be a search response) is received we need to memorize on which local address it was received, so that the we can later give the remote device a reachable (from its point of view) local GENA callback address.
- Autor:
- Christian Bauer
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen org.jupnp.model.message.UpnpMessage
UpnpMessage.BodyType -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedIncomingDatagramMessage(O operation, InetAddress sourceAddress, int sourcePort, InetAddress localAddress) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungintVon Klasse geerbte Methoden org.jupnp.model.message.UpnpMessage
getBody, getBodyBytes, getBodyString, getBodyType, getContentTypeCharset, getContentTypeHeader, getHeaders, getOperation, getUdaMajorVersion, getUdaMinorVersion, hasBody, hasHostHeader, isBodyNonEmptyString, isContentTypeMissingOrText, isContentTypeText, isContentTypeTextUDA, setBody, setBody, setBodyCharacters, setBodyType, setHeaders, setUdaMajorVersion, setUdaMinorVersion, toString
-
Konstruktordetails
-
IncomingDatagramMessage
public IncomingDatagramMessage(O operation, InetAddress sourceAddress, int sourcePort, InetAddress localAddress) -
IncomingDatagramMessage
-
-
Methodendetails
-
getSourceAddress
-
getSourcePort
public int getSourcePort() -
getLocalAddress
-