/** * ======================== legal notice ====================== * * File: MediaServer.java Created: 13. June 2012, 04:57 Author: Geronimo Project: cmpc - a java frontend * (client) part of compound media player uses external players to play the * media * * CMP - compound media player * * is a client/server mediaplayer intended to play any media from any * workstation without the need to export or mount shares. cmps is an easy to * use backend with a (ready to use) HTML-interface. Additionally the backend * supports authentication via HTTP-digest authorization. cmpc is a client with * vdr-like osd-menues. * * Copyright (c) 2012 Reinhard Mantey, some rights reserved! published under * Creative Commons by-sa For details see * http://creativecommons.org/licenses/by-sa/3.0/ * * The cmp project's homepage is at * http://projects.vdr-developer.org/projects/cmp * * -------------------------------------------------------------- */ package de.schwarzrot.media.domain; public class MediaServer implements Cloneable { @Override public Object clone() { MediaServer rv = new MediaServer(); rv.hostName = hostName; rv.port = port; return rv; } public String getHostName() { return hostName; } public int getPort() { return port; } public void setHostName(String hostName) { this.hostName = hostName; } public void setPort(int port) { this.port = port; } @Override public String toString() { return hostName; } private String hostName; private int port; }