示例#1
0
 /** list active servers */
 public String[] getActiveServers() {
   org.omg.CORBA.portable.InputStream $in = null;
   try {
     org.omg.CORBA.portable.OutputStream $out = _request("getActiveServers", true);
     $in = _invoke($out);
     String $result[] = com.sun.corba.se.PortableActivationIDL.ServerIdsHelper.read($in);
     return $result;
   } catch (org.omg.CORBA.portable.ApplicationException $ex) {
     $in = $ex.getInputStream();
     String _id = $ex.getId();
     throw new org.omg.CORBA.MARSHAL(_id);
   } catch (org.omg.CORBA.portable.RemarshalException $rm) {
     return getActiveServers();
   } finally {
     _releaseReply($in);
   }
 } // getActiveServers
 public void _read(org.omg.CORBA.portable.InputStream i) {
   value = com.sun.corba.se.PortableActivationIDL.ServerIdsHelper.read(i);
 }