/* * Copyright 2013-2014 High-Level Technologies * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ package org.zodiark.service.wowza; import java.util.ArrayList; import java.util.List; /** * An object used as {@link org.zodiark.service.chat.Message#message} used to exchange data with a remote Wowza {@link org.zodiark.service.Endpoint} */ public class WowzaMessage { public enum TYPE { OBFUSCATE, LIVE } private TYPE type = TYPE.OBFUSCATE; private List<String> uuids; private String publisherUUID; public WowzaMessage(){ uuids = new ArrayList<>(); } public WowzaMessage(List<String> uuids){ this.uuids = uuids; } public TYPE getType() { return type; } public void setType(TYPE type) { this.type = type; } public List<String> getUuids() { return uuids; } public void setUuids(List<String> uuids) { this.uuids = uuids; } public String getPublisherUUID() { return publisherUUID; } public void setPublisherUUID(String publisherUUID) { this.publisherUUID = publisherUUID; } }