Skip to content
Snippets Groups Projects
Commit 356dd81e authored by ismcarb's avatar ismcarb
Browse files

ip's

parent b0fb674d
No related branches found
No related tags found
No related merge requests found
......@@ -4,17 +4,11 @@
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="0c5e7f40-d6e0-4cdf-8175-c288dac24af5" name="Changes" comment="workspace">
<change afterPath="$PROJECT_DIR$/src/spotify/rmi/client/stream/unit/ContinuousReadL.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/spotify/rmi/client/stream/unit/PrimerasOperaciones.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/spotify/rmi/client/stream/unit/SegundasOperaciones.java" afterDir="false" />
<list default="true" id="0c5e7f40-d6e0-4cdf-8175-c288dac24af5" name="Changes" comment="Cambios y covers">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/mp3files/origin/coverGwendolyne.jpeg" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/spotify/rmi/client/CompleteMetadata.java" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/spotify/rmi/client/stream/unit/PlayList.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/spotify/rmi/client/stream/unit/PlayList.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/spotify/rmi/client/stream/unit/PlaySong.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/spotify/rmi/client/stream/unit/PlaySong.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/spotify/media/Globals.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/spotify/media/Globals.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/spotify/rmi/client/stream/unit/PrimerasOperaciones.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/spotify/rmi/client/stream/unit/PrimerasOperaciones.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/spotify/rmi/server/Launcher.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/spotify/rmi/server/Launcher.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/spotify/rmi/server/SpotifyServerImpl.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/spotify/rmi/server/SpotifyServerImpl.java" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
......@@ -116,7 +110,7 @@
<workItem from="1716300799328" duration="6999000" />
<workItem from="1716309405427" duration="3744000" />
<workItem from="1716376204050" duration="3565000" />
<workItem from="1716384955891" duration="4398000" />
<workItem from="1716384955891" duration="5764000" />
</task>
<task id="LOCAL-00001" summary="l">
<option name="closed" value="true" />
......@@ -198,7 +192,15 @@
<option name="project" value="LOCAL" />
<updated>1716313134057</updated>
</task>
<option name="localTasksCounter" value="11" />
<task id="LOCAL-00011" summary="Cambios y covers">
<option name="closed" value="true" />
<created>1716389438598</created>
<option name="number" value="00011" />
<option name="presentableId" value="LOCAL-00011" />
<option name="project" value="LOCAL" />
<updated>1716389438598</updated>
</task>
<option name="localTasksCounter" value="12" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
......@@ -226,6 +228,7 @@
<MESSAGE value="Cambios, y metadata?¿" />
<MESSAGE value="Las canciones" />
<MESSAGE value="workspace" />
<option name="LAST_COMMIT_MESSAGE" value="workspace" />
<MESSAGE value="Cambios y covers" />
<option name="LAST_COMMIT_MESSAGE" value="Cambios y covers" />
</component>
</project>
\ No newline at end of file
......@@ -23,7 +23,7 @@ public class Globals {
public static String log_stream = " [STREAM] Streaming to: ";
public static String log_stream_end = " [STREAM] Stream finished. Tx Bytes: ";
// Streaming paths
public static String server_host = "localhost";
public static String server_host = "192.168.43.57";
public static int server_port = 20099;
public static String path_origin = "./mp3files/origin/";
public static String path_destination = "./mp3files/destination/";
......
......@@ -14,7 +14,7 @@ public class PrimerasOperaciones {
Scanner scanner = new Scanner(System.in);
//System.setProperty("java.rmi.server.hostname","ip");
System.setProperty("java.rmi.server.hostname","192.168.43.153");
try {
SpotifyServer orServer = (SpotifyServer) Naming.lookup("rmi://"+host+"/ObjetoSpotify");
Spotify or = (Spotify) Naming.lookup("rmi://"+host+"/ObjetoSpotify");
......
......@@ -13,6 +13,8 @@ public class Launcher {
public static void main(String [ ] args) {
int PUERTO = 1099; // puerto de servicio
System.setProperty("java.rmi.server.hostname","192.168.43.57");
// Mapa para almacenar información relacionada con las sesiones de los clientes
MultiMap<String, String> mapa = new MultiMap();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment