6 public interface MyDNS extends MyBase{
\r
7 public String getMyName()throws RemoteException;
\r
8 public int getMyType()throws RemoteException;
\r
9 public MyBase getServiceRecord(String $name)throws RemoteException;
\r
10 public void regServiceRecord(MyBase $rec)throws RemoteException;
\r
11 public void unregServiceRecord(MyBase $rec)throws RemoteException;
\r