Java Code Examples for org.fourthline.cling.model.message.UpnpResponse#Status

The following examples show how to use org.fourthline.cling.model.message.UpnpResponse#Status . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: OutgoingActionResponseMessage.java    From TVRemoteIME with GNU General Public License v2.0 5 votes vote down vote up
public OutgoingActionResponseMessage(UpnpResponse.Status status, Action action) {
    super(new UpnpResponse(status));

    if (action != null) {
        if (action instanceof QueryStateVariableAction) {
            this.actionNamespace = Constants.NS_UPNP_CONTROL_10;
        } else {
            this.actionNamespace = action.getService().getServiceType().toString();
        }
    }

    addHeaders();
}
 
Example 2
Source File: OutgoingActionResponseMessage.java    From DroidDLNA with GNU General Public License v3.0 5 votes vote down vote up
public OutgoingActionResponseMessage(UpnpResponse.Status status, Action action) {
    super(new UpnpResponse(status));

    if (action != null) {
        if (action instanceof QueryStateVariableAction) {
            this.actionNamespace = Constants.NS_UPNP_CONTROL_10;
        } else {
            this.actionNamespace = action.getService().getServiceType().toString();
        }
    }

    addHeaders();
}
 
Example 3
Source File: OutgoingActionResponseMessage.java    From TVRemoteIME with GNU General Public License v2.0 4 votes vote down vote up
public OutgoingActionResponseMessage(UpnpResponse.Status status) {
    this(status, null);
}
 
Example 4
Source File: OutgoingSubscribeResponseMessage.java    From TVRemoteIME with GNU General Public License v2.0 4 votes vote down vote up
public OutgoingSubscribeResponseMessage(UpnpResponse.Status status) {
    super(status);
}
 
Example 5
Source File: OutgoingActionResponseMessage.java    From DroidDLNA with GNU General Public License v3.0 4 votes vote down vote up
public OutgoingActionResponseMessage(UpnpResponse.Status status) {
    this(status, null);
}
 
Example 6
Source File: OutgoingSubscribeResponseMessage.java    From DroidDLNA with GNU General Public License v3.0 4 votes vote down vote up
public OutgoingSubscribeResponseMessage(UpnpResponse.Status status) {
    super(status);
}