Modifier and Type | Field and Description |
---|---|
List<IncomingDatagramMessage> |
MockRouter.incomingDatagramMessages |
Modifier and Type | Method and Description |
---|---|
List<IncomingDatagramMessage> |
MockRouter.getIncomingDatagramMessages() |
Modifier and Type | Method and Description |
---|---|
ReceivingAsync |
MockProtocolFactory.createReceivingAsync(IncomingDatagramMessage message) |
void |
MockRouter.received(IncomingDatagramMessage msg) |
Constructor and Description |
---|
IncomingDatagramMessage(IncomingDatagramMessage<O> source) |
Modifier and Type | Class and Description |
---|---|
class |
IncomingNotificationRequest |
class |
IncomingSearchRequest |
class |
IncomingSearchResponse |
Constructor and Description |
---|
IncomingNotificationRequest(IncomingDatagramMessage<UpnpRequest> source) |
IncomingSearchRequest(IncomingDatagramMessage<UpnpRequest> source) |
IncomingSearchResponse(IncomingDatagramMessage<UpnpResponse> source) |
OutgoingSearchResponse(IncomingDatagramMessage request,
Location location,
LocalDevice device) |
OutgoingSearchResponseDeviceType(IncomingDatagramMessage request,
Location location,
LocalDevice device) |
OutgoingSearchResponseRootDevice(IncomingDatagramMessage request,
Location location,
LocalDevice device) |
OutgoingSearchResponseServiceType(IncomingDatagramMessage request,
Location location,
LocalDevice device,
ServiceType serviceType) |
OutgoingSearchResponseUDN(IncomingDatagramMessage request,
Location location,
LocalDevice device) |
Modifier and Type | Method and Description |
---|---|
ReceivingAsync |
ProtocolFactoryImpl.createReceivingAsync(IncomingDatagramMessage message) |
ReceivingAsync |
ProtocolFactory.createReceivingAsync(IncomingDatagramMessage message)
|
protected ReceivingAsync |
ProtocolFactoryImpl.createReceivingNotification(IncomingDatagramMessage<UpnpRequest> incomingRequest) |
protected ReceivingAsync |
ProtocolFactoryImpl.createReceivingSearch(IncomingDatagramMessage<UpnpRequest> incomingRequest) |
protected ReceivingAsync |
ProtocolFactoryImpl.createReceivingSearchResponse(IncomingDatagramMessage<UpnpResponse> incomingResponse) |
protected boolean |
ProtocolFactoryImpl.isByeBye(IncomingDatagramMessage message) |
protected boolean |
ProtocolFactoryImpl.isSupportedServiceAdvertisement(IncomingDatagramMessage message) |
Constructor and Description |
---|
ReceivingNotification(UpnpService upnpService,
IncomingDatagramMessage<UpnpRequest> inputMessage) |
ReceivingSearch(UpnpService upnpService,
IncomingDatagramMessage<UpnpRequest> inputMessage) |
ReceivingSearchResponse(UpnpService upnpService,
IncomingDatagramMessage<UpnpResponse> inputMessage) |
Modifier and Type | Method and Description |
---|---|
void |
RouterImpl.received(IncomingDatagramMessage msg)
Obtains the asynchronous protocol
Executor and runs the protocol created
by the ProtocolFactory for the given message. |
void |
Router.received(IncomingDatagramMessage msg)
This method is called internally by the transport layer when a datagram, either unicast or
multicast, has been received.
|
Modifier and Type | Method and Description |
---|---|
IncomingDatagramMessage |
DatagramProcessorImpl.read(InetAddress receivedOnAddress,
DatagramPacket datagram) |
protected IncomingDatagramMessage |
DatagramProcessorImpl.readRequestMessage(InetAddress receivedOnAddress,
DatagramPacket datagram,
ByteArrayInputStream is,
String requestMethod,
String httpProtocol) |
protected IncomingDatagramMessage |
DatagramProcessorImpl.readResponseMessage(InetAddress receivedOnAddress,
DatagramPacket datagram,
ByteArrayInputStream is,
int statusCode,
String statusMessage,
String httpProtocol) |
Modifier and Type | Method and Description |
---|---|
IncomingDatagramMessage |
DatagramProcessor.read(InetAddress receivedOnAddress,
DatagramPacket datagram)
Reads the datagram and instantiates a message.
|
Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.