1 |
/* |
/* |
2 |
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. |
Copyright (c) 1996, 1997, 1998, 1999, 2002 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
67 |
//this.csf = csf; |
//this.csf = csf; |
68 |
//this.ssf = ssf; |
//this.ssf = ssf; |
69 |
this.ref = new UnicastServerRef(new ObjID(), port, ssf); |
this.ref = new UnicastServerRef(new ObjID(), port, ssf); |
70 |
//Should we export it here? |
exportObject(this); |
|
// if we export, we got infinite recursive call: |
|
|
// UnicastRemoteObject.<init>->...->UnicastServer.startDGC()->UnicastRemoteObject.<init>->... |
|
|
//exportObject(this); |
|
71 |
} |
} |
72 |
|
|
73 |
protected UnicastRemoteObject(RemoteRef ref) throws RemoteException { |
protected UnicastRemoteObject(RemoteRef ref) throws RemoteException { |
74 |
super((UnicastServerRef)ref); |
super((UnicastServerRef)ref); |
75 |
//Should we export it here? |
exportObject(this); |
|
//exportObject(this); |
|
76 |
} |
} |
77 |
|
|
78 |
public Object clone() throws CloneNotSupportedException { |
public Object clone() throws CloneNotSupportedException { |