1a3dd3e88ef58fc7b00bd004a39eb0d784a06c9e
[org.ibex.jinetd.git] / src / org / ibex / jinetd / Host.java
1 // Copyright 2000-2005 the Contributors, as shown in the revision logs.
2 // Licensed under the Apache Public Source License 2.0 ("the License").
3 // You may not use this file except in compliance with the License.
4
5 package org.ibex.jinetd;
6 import org.ibex.util.*;
7 import java.io.*;
8 import java.util.*;
9 import java.lang.reflect.*;
10
11 public class Host extends File {
12
13     final String hostname;
14     public Host(String path, String hostname) { super(path); this.hostname = hostname; }
15
16     public void changed(File f) { }
17         /*
18         super.changed(w);
19         Log.debug(this, "changed(" + w + ")");
20         try {
21             ClassLoader cl = getClassLoader();
22             if (cl == null) return;
23             Class c = cl.loadClass("Main");
24             if (c == null) return;
25             Method m = c.getMethod("main", new Class[] { });
26             m.invoke(null, new Object[] { });
27         } catch (Exception e) {
28             Log.warn(this, e);
29         }
30         */
31 }