protected List<OutgoingNotificationRequest> createServiceTypeMessages(LocalDevice device, Location descriptorLocation) { List<OutgoingNotificationRequest> msgs = new ArrayList<>(); for (ServiceType serviceType : device.findServiceTypes()) { msgs.add( new OutgoingNotificationRequestServiceType( descriptorLocation, device, getNotificationSubtype(), serviceType ) ); } return msgs; }
protected List<OutgoingSearchResponse> createServiceTypeMessages(LocalDevice device, NetworkAddress activeStreamServer) { List<OutgoingSearchResponse> msgs = new ArrayList<>(); for (ServiceType serviceType : device.findServiceTypes()) { OutgoingSearchResponse message = new OutgoingSearchResponseServiceType( getInputMessage(), getDescriptorLocation(activeStreamServer, device), device, serviceType ); prepareOutgoingSearchResponse(message); msgs.add(message); } return msgs; }
protected List<OutgoingNotificationRequest> createServiceTypeMessages(LocalDevice device, Location descriptorLocation) { List<OutgoingNotificationRequest> msgs = new ArrayList(); for (ServiceType serviceType : device.findServiceTypes()) { msgs.add( new OutgoingNotificationRequestServiceType( descriptorLocation, device, getNotificationSubtype(), serviceType ) ); } return msgs; }
protected List<OutgoingSearchResponse> createServiceTypeMessages(LocalDevice device, NetworkAddress activeStreamServer) { List<OutgoingSearchResponse> msgs = new ArrayList<OutgoingSearchResponse>(); for (ServiceType serviceType : device.findServiceTypes()) { OutgoingSearchResponse message = new OutgoingSearchResponseServiceType( getInputMessage(), getDescriptorLocation(activeStreamServer, device), device, serviceType ); prepareOutgoingSearchResponse(message); msgs.add(message); } return msgs; }
protected List<OutgoingNotificationRequest> createServiceTypeMessages(LocalDevice device, Location descriptorLocation) { List<OutgoingNotificationRequest> msgs = new ArrayList<>(); for (ServiceType serviceType : device.findServiceTypes()) { msgs.add( new OutgoingNotificationRequestServiceType( descriptorLocation, device, getNotificationSubtype(), serviceType ) ); } return msgs; }
protected List<OutgoingSearchResponse> createServiceTypeMessages(LocalDevice device, NetworkAddress activeStreamServer) { List<OutgoingSearchResponse> msgs = new ArrayList<>(); for (ServiceType serviceType : device.findServiceTypes()) { OutgoingSearchResponse message = new OutgoingSearchResponseServiceType( getInputMessage(), getDescriptorLocation(activeStreamServer, device), device, serviceType ); prepareOutgoingSearchResponse(message); msgs.add(message); } return msgs; }