Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0fcf648
commit 9eb6359
Showing
17 changed files
with
5,697 additions
and
5,697 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,26 +1,26 @@ | |||
/* | /* | ||
* Copyright (c) 2009 Citrix Systems, Inc. | * Copyright (c) 2009 Citrix Systems, Inc. | ||
* | * | ||
* Permission to use, copy, modify, and distribute this file for any | * Permission to use, copy, modify, and distribute this file for any | ||
* purpose with or without fee is hereby granted. | * purpose with or without fee is hereby granted. | ||
*/ | */ | ||
|
|
||
<html> | <html> | ||
<body> | <body> | ||
<center> | <center> | ||
<table> | <table> | ||
<tr> | <tr> | ||
<td> | <td> | ||
<applet code="com/citrix/xenserver/console/Initialize.class" | <applet code="com/citrix/xenserver/console/Initialize.class" | ||
archive="XenServerConsole.jar" | archive="XenServerConsole.jar" | ||
width="800" height="600"> | width="800" height="600"> | ||
<PARAM NAME=SESSION VALUE="OpaqueRef:your_session_here"> | <PARAM NAME=SESSION VALUE="OpaqueRef:your_session_here"> | ||
<PARAM NAME=URL VALUE="https://your.host.here/console.url.here"> | <PARAM NAME=URL VALUE="https://your.host.here/console.url.here"> | ||
<PARAM NAME=USEURL VALUE="true"> | <PARAM NAME=USEURL VALUE="true"> | ||
</applet> | </applet> | ||
</td> | </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
</center> | </center> | ||
</body> | </body> | ||
</html> | </html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,30 +1,30 @@ | |||
<!-- | <!-- | ||
Copyright (c) 2009 Citrix Systems, Inc. | Copyright (c) 2009 Citrix Systems, Inc. | ||
Permission to use, copy, modify, and distribute this software for any | Permission to use, copy, modify, and distribute this software for any | ||
purpose with or without fee is hereby granted. | purpose with or without fee is hereby granted. | ||
--> | --> | ||
<project name="XenServerConsole" default="all"> | <project name="XenServerConsole" default="all"> | ||
<target name="all"> | <target name="all"> | ||
<javac srcdir="." destdir="." source="1.5" | <javac srcdir="." destdir="." source="1.5" | ||
includes="**/*.java" /> | includes="**/*.java" /> | ||
<jar destfile="XenServerConsole.jar" basedir="." | <jar destfile="XenServerConsole.jar" basedir="." | ||
includes="**/*.class **/*.properties **/*.png"> | includes="**/*.class **/*.properties **/*.png"> | ||
</jar> | </jar> | ||
<zip destfile="XenServerConsole.zip" basedir="." | <zip destfile="XenServerConsole.zip" basedir="." | ||
includes="XenServerConsole.jar, Console.html"/> | includes="XenServerConsole.jar, Console.html"/> | ||
|
|
||
<zip destfile="XenServerConsole-src.zip" basedir="." | <zip destfile="XenServerConsole-src.zip" basedir="." | ||
includes="**/*.java **/*.properties **/*.png **/*.html build.xml LICENSE GPL-2"/> | includes="**/*.java **/*.properties **/*.png **/*.html build.xml LICENSE GPL-2"/> | ||
</target> | </target> | ||
|
|
||
<target name="clean"> | <target name="clean"> | ||
<delete> | <delete> | ||
<fileset dir="." includes="**/*.class"/> | <fileset dir="." includes="**/*.class"/> | ||
</delete> | </delete> | ||
<delete file="./XenServerConsole.jar"/> | <delete file="./XenServerConsole.jar"/> | ||
<delete file="./XenServerConsole.zip"/> | <delete file="./XenServerConsole.zip"/> | ||
<delete file="./XenServerConsole-src.zip"/> | <delete file="./XenServerConsole-src.zip"/> | ||
</target> | </target> | ||
|
|
||
</project> | </project> |
86 changes: 43 additions & 43 deletions
86
java/com/citrix/xenserver/console/ConnectionListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,43 +1,43 @@ | |||
/* | /* | ||
* Copyright (c) 2005-2009 Citrix Systems, Inc. | * Copyright (c) 2005-2009 Citrix Systems, Inc. | ||
* | * | ||
* This library is free software; you can redistribute it and/or modify it | * This library is free software; you can redistribute it and/or modify it | ||
* under the terms of version 2 of the GNU General Public License as published | * under the terms of version 2 of the GNU General Public License as published | ||
* by the Free Software Foundation, with the additional linking exception as | * by the Free Software Foundation, with the additional linking exception as | ||
* follows: | * follows: | ||
* | * | ||
* Linking this library statically or dynamically with other modules is | * Linking this library statically or dynamically with other modules is | ||
* making a combined work based on this library. Thus, the terms and | * making a combined work based on this library. Thus, the terms and | ||
* conditions of the GNU General Public License cover the whole combination. | * conditions of the GNU General Public License cover the whole combination. | ||
* | * | ||
* As a special exception, the copyright holders of this library give you | * As a special exception, the copyright holders of this library give you | ||
* permission to link this library with independent modules to produce an | * permission to link this library with independent modules to produce an | ||
* executable, regardless of the license terms of these independent modules, | * executable, regardless of the license terms of these independent modules, | ||
* and to copy and distribute the resulting executable under terms of your | * and to copy and distribute the resulting executable under terms of your | ||
* choice, provided that you also meet, for each linked independent module, | * choice, provided that you also meet, for each linked independent module, | ||
* the terms and conditions of the license of that module. An independent | * the terms and conditions of the license of that module. An independent | ||
* module is a module which is not derived from or based on this library. If | * module is a module which is not derived from or based on this library. If | ||
* you modify this library, you may extend this exception to your version of | * you modify this library, you may extend this exception to your version of | ||
* the library, but you are not obligated to do so. If you do not wish to do | * the library, but you are not obligated to do so. If you do not wish to do | ||
* so, delete this exception statement from your version. | * so, delete this exception statement from your version. | ||
* | * | ||
* This program is distributed in the hope that it will be useful, but WITHOUT | * This program is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
* more details. | * more details. | ||
* | * | ||
* You should have received a copy of the GNU General Public License along | * You should have received a copy of the GNU General Public License along | ||
* with this program; if not, write to the Free Software Foundation, Inc., 51 | * with this program; if not, write to the Free Software Foundation, Inc., 51 | ||
* Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
*/ | */ | ||
package com.citrix.xenserver.console; | package com.citrix.xenserver.console; | ||
|
|
||
public interface ConnectionListener { | public interface ConnectionListener { | ||
public void ConnectionMade(); | public void ConnectionMade(); | ||
|
|
||
public void ConnectionLost(String reason); | public void ConnectionLost(String reason); | ||
|
|
||
public void ConnectionClosed(); | public void ConnectionClosed(); | ||
|
|
||
public void ConnectionFailed(String reason); | public void ConnectionFailed(String reason); | ||
} | } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,37 +1,37 @@ | |||
/* | /* | ||
* Copyright (c) 2005-2009 Citrix Systems, Inc. | * Copyright (c) 2005-2009 Citrix Systems, Inc. | ||
* | * | ||
* This library is free software; you can redistribute it and/or modify it | * This library is free software; you can redistribute it and/or modify it | ||
* under the terms of version 2 of the GNU General Public License as published | * under the terms of version 2 of the GNU General Public License as published | ||
* by the Free Software Foundation, with the additional linking exception as | * by the Free Software Foundation, with the additional linking exception as | ||
* follows: | * follows: | ||
* | * | ||
* Linking this library statically or dynamically with other modules is | * Linking this library statically or dynamically with other modules is | ||
* making a combined work based on this library. Thus, the terms and | * making a combined work based on this library. Thus, the terms and | ||
* conditions of the GNU General Public License cover the whole combination. | * conditions of the GNU General Public License cover the whole combination. | ||
* | * | ||
* As a special exception, the copyright holders of this library give you | * As a special exception, the copyright holders of this library give you | ||
* permission to link this library with independent modules to produce an | * permission to link this library with independent modules to produce an | ||
* executable, regardless of the license terms of these independent modules, | * executable, regardless of the license terms of these independent modules, | ||
* and to copy and distribute the resulting executable under terms of your | * and to copy and distribute the resulting executable under terms of your | ||
* choice, provided that you also meet, for each linked independent module, | * choice, provided that you also meet, for each linked independent module, | ||
* the terms and conditions of the license of that module. An independent | * the terms and conditions of the license of that module. An independent | ||
* module is a module which is not derived from or based on this library. If | * module is a module which is not derived from or based on this library. If | ||
* you modify this library, you may extend this exception to your version of | * you modify this library, you may extend this exception to your version of | ||
* the library, but you are not obligated to do so. If you do not wish to do | * the library, but you are not obligated to do so. If you do not wish to do | ||
* so, delete this exception statement from your version. | * so, delete this exception statement from your version. | ||
* | * | ||
* This program is distributed in the hope that it will be useful, but WITHOUT | * This program is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
* more details. | * more details. | ||
* | * | ||
* You should have received a copy of the GNU General Public License along | * You should have received a copy of the GNU General Public License along | ||
* with this program; if not, write to the Free Software Foundation, Inc., 51 | * with this program; if not, write to the Free Software Foundation, Inc., 51 | ||
* Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
*/ | */ | ||
package com.citrix.xenserver.console; | package com.citrix.xenserver.console; | ||
|
|
||
public interface ConsoleListener { | public interface ConsoleListener { | ||
public void writeline(String line); | public void writeline(String line); | ||
} | } |
Oops, something went wrong.