| package com.genersoft.iot.vmp.media.zlm.dto.hook; | 
|   | 
| /** | 
|  * zlm hook事件中的on_publish事件的参数 | 
|  * @author lin | 
|  */ | 
| public class OnPublishHookParam extends HookParam{ | 
|     private String id; | 
|     private String app; | 
|     private String stream; | 
|     private String ip; | 
|     private String params; | 
|     private int port; | 
|     private String schema; | 
|     private String vhost; | 
|   | 
|   | 
|     public String getId() { | 
|         return id; | 
|     } | 
|   | 
|     public void setId(String id) { | 
|         this.id = id; | 
|     } | 
|   | 
|     public String getApp() { | 
|         return app; | 
|     } | 
|   | 
|     public void setApp(String app) { | 
|         this.app = app; | 
|     } | 
|   | 
|     public String getStream() { | 
|         return stream; | 
|     } | 
|   | 
|     public void setStream(String stream) { | 
|         this.stream = stream; | 
|     } | 
|   | 
|     public String getIp() { | 
|         return ip; | 
|     } | 
|   | 
|     public void setIp(String ip) { | 
|         this.ip = ip; | 
|     } | 
|   | 
|     public String getParams() { | 
|         return params; | 
|     } | 
|   | 
|     public void setParams(String params) { | 
|         this.params = params; | 
|     } | 
|   | 
|     public int getPort() { | 
|         return port; | 
|     } | 
|   | 
|     public void setPort(int port) { | 
|         this.port = port; | 
|     } | 
|   | 
|     public String getSchema() { | 
|         return schema; | 
|     } | 
|   | 
|     public void setSchema(String schema) { | 
|         this.schema = schema; | 
|     } | 
|   | 
|     public String getVhost() { | 
|         return vhost; | 
|     } | 
|   | 
|     public void setVhost(String vhost) { | 
|         this.vhost = vhost; | 
|     } | 
|   | 
|     @Override | 
|     public String toString() { | 
|         return String.format("%s://%s:%s/%s/%s?%s", schema, ip, port, app, stream, params); | 
|     } | 
| } |