| 
    YAACC - UPNP Client and Server
    
   | 
 
Default implementation, directly instantiates the appropriate protocols. More...


Public Member Functions | |
| ProtocolFactoryImpl (UpnpService upnpService) | |
| UpnpService | getUpnpService () | 
| ReceivingAsync | createReceivingAsync (IncomingDatagramMessage message) throws ProtocolCreationException | 
Creates a org.fourthline.cling.protocol.async.ReceivingNotification, org.fourthline.cling.protocol.async.ReceivingSearch, or org.fourthline.cling.protocol.async.ReceivingSearchResponse protocol.   | |
| ReceivingSync | createReceivingSync (StreamRequestMessage message) throws ProtocolCreationException | 
Creates a org.fourthline.cling.protocol.sync.ReceivingRetrieval, org.fourthline.cling.protocol.sync.ReceivingAction, org.fourthline.cling.protocol.sync.ReceivingSubscribe, org.fourthline.cling.protocol.sync.ReceivingUnsubscribe, or org.fourthline.cling.protocol.sync.ReceivingEvent protocol.   | |
| SendingNotificationAlive | createSendingNotificationAlive (LocalDevice localDevice) | 
Called by the org.fourthline.cling.registry.Registry, creates a protocol for announcing local devices.   | |
| SendingNotificationByebye | createSendingNotificationByebye (LocalDevice localDevice) | 
Called by the org.fourthline.cling.registry.Registry, creates a protocol for announcing local devices.   | |
| SendingSearch | createSendingSearch (UpnpHeader searchTarget, int mxSeconds) | 
Called by the org.fourthline.cling.controlpoint.ControlPoint, creates a protocol for a multicast search.   | |
| SendingAction | createSendingAction (ActionInvocation actionInvocation, URL controlURL) | 
Called by the org.fourthline.cling.controlpoint.ControlPoint, creates a protocol for executing an action.   | |
| SendingSubscribe | createSendingSubscribe (RemoteGENASubscription subscription) throws ProtocolCreationException | 
Called by the org.fourthline.cling.controlpoint.ControlPoint, creates a protocol for GENA subscription.   | |
| SendingRenewal | createSendingRenewal (RemoteGENASubscription subscription) | 
Called by the org.fourthline.cling.controlpoint.ControlPoint, creates a protocol for GENA renewal.   | |
| SendingUnsubscribe | createSendingUnsubscribe (RemoteGENASubscription subscription) | 
Called by the org.fourthline.cling.controlpoint.ControlPoint, creates a protocol for GENA unsubscription.   | |
| SendingEvent | createSendingEvent (LocalGENASubscription subscription) | 
Called by the org.fourthline.cling.model.gena.GENASubscription, creates a protocol for sending GENA events.   | |
Protected Member Functions | |
| ReceivingAsync | createReceivingNotification (IncomingDatagramMessage< UpnpRequest > incomingRequest) | 
| ReceivingAsync | createReceivingSearch (IncomingDatagramMessage< UpnpRequest > incomingRequest) | 
| ReceivingAsync | createReceivingSearchResponse (IncomingDatagramMessage< UpnpResponse > incomingResponse) | 
| boolean | isByeBye (IncomingDatagramMessage message) | 
| boolean | isSsdpAlive (IncomingDatagramMessage message) | 
| boolean | isSupportedServiceAdvertisement (IncomingDatagramMessage message) | 
| ReceivingRetrieval | createReceivingRetrieval (StreamRequestMessage message) | 
| ReceivingAction | createReceivingAction (StreamRequestMessage message) | 
| ReceivingSubscribe | createReceivingSubscribe (StreamRequestMessage message) | 
| ReceivingUnsubscribe | createReceivingUnsubscribe (StreamRequestMessage message) | 
| ReceivingEvent | createReceivingEvent (StreamRequestMessage message) | 
Protected Attributes | |
| final UpnpService | upnpService | 
Default implementation, directly instantiates the appropriate protocols.
| ReceivingAsync org.fourthline.cling.protocol.ProtocolFactoryImpl.createReceivingAsync | ( | IncomingDatagramMessage | message | ) | throws ProtocolCreationException | 
Creates a org.fourthline.cling.protocol.async.ReceivingNotification, org.fourthline.cling.protocol.async.ReceivingSearch, or org.fourthline.cling.protocol.async.ReceivingSearchResponse protocol. 
| message | The incoming message, either org.fourthline.cling.model.message.UpnpRequest or org.fourthline.cling.model.message.UpnpResponse.  | 
null if the message should be dropped. | ProtocolCreationException | If no protocol could be found for the message. | 
Implements org.fourthline.cling.protocol.ProtocolFactory.
| ReceivingSync org.fourthline.cling.protocol.ProtocolFactoryImpl.createReceivingSync | ( | StreamRequestMessage | requestMessage | ) | throws ProtocolCreationException | 
Creates a org.fourthline.cling.protocol.sync.ReceivingRetrieval, org.fourthline.cling.protocol.sync.ReceivingAction, org.fourthline.cling.protocol.sync.ReceivingSubscribe, org.fourthline.cling.protocol.sync.ReceivingUnsubscribe, or org.fourthline.cling.protocol.sync.ReceivingEvent protocol. 
| requestMessage | The incoming message, examime org.fourthline.cling.model.message.UpnpRequest.Method to determine the protocol.  | 
| ProtocolCreationException | If no protocol could be found for the message. | 
Implements org.fourthline.cling.protocol.ProtocolFactory.
| SendingAction org.fourthline.cling.protocol.ProtocolFactoryImpl.createSendingAction | ( | ActionInvocation | actionInvocation, | 
| URL | controlURL | ||
| ) | 
Called by the org.fourthline.cling.controlpoint.ControlPoint, creates a protocol for executing an action. 
Implements org.fourthline.cling.protocol.ProtocolFactory.
| SendingEvent org.fourthline.cling.protocol.ProtocolFactoryImpl.createSendingEvent | ( | LocalGENASubscription | subscription | ) | 
Called by the org.fourthline.cling.model.gena.GENASubscription, creates a protocol for sending GENA events. 
Implements org.fourthline.cling.protocol.ProtocolFactory.
| SendingNotificationAlive org.fourthline.cling.protocol.ProtocolFactoryImpl.createSendingNotificationAlive | ( | LocalDevice | localDevice | ) | 
Called by the org.fourthline.cling.registry.Registry, creates a protocol for announcing local devices. 
Implements org.fourthline.cling.protocol.ProtocolFactory.
| SendingNotificationByebye org.fourthline.cling.protocol.ProtocolFactoryImpl.createSendingNotificationByebye | ( | LocalDevice | localDevice | ) | 
Called by the org.fourthline.cling.registry.Registry, creates a protocol for announcing local devices. 
Implements org.fourthline.cling.protocol.ProtocolFactory.
| SendingRenewal org.fourthline.cling.protocol.ProtocolFactoryImpl.createSendingRenewal | ( | RemoteGENASubscription | subscription | ) | 
Called by the org.fourthline.cling.controlpoint.ControlPoint, creates a protocol for GENA renewal. 
Implements org.fourthline.cling.protocol.ProtocolFactory.
| SendingSearch org.fourthline.cling.protocol.ProtocolFactoryImpl.createSendingSearch | ( | UpnpHeader | searchTarget, | 
| int | mxSeconds | ||
| ) | 
Called by the org.fourthline.cling.controlpoint.ControlPoint, creates a protocol for a multicast search. 
Implements org.fourthline.cling.protocol.ProtocolFactory.
| SendingSubscribe org.fourthline.cling.protocol.ProtocolFactoryImpl.createSendingSubscribe | ( | RemoteGENASubscription | subscription | ) | throws ProtocolCreationException | 
Called by the org.fourthline.cling.controlpoint.ControlPoint, creates a protocol for GENA subscription. 
Implements org.fourthline.cling.protocol.ProtocolFactory.
| SendingUnsubscribe org.fourthline.cling.protocol.ProtocolFactoryImpl.createSendingUnsubscribe | ( | RemoteGENASubscription | subscription | ) | 
Called by the org.fourthline.cling.controlpoint.ControlPoint, creates a protocol for GENA unsubscription. 
Implements org.fourthline.cling.protocol.ProtocolFactory.
| UpnpService org.fourthline.cling.protocol.ProtocolFactoryImpl.getUpnpService | ( | ) | 
Implements org.fourthline.cling.protocol.ProtocolFactory.