示例#1
0
        /// <summary>
        /// This protected method is necessary for subclasses to
        /// make the <code>activeObject</code> callback to the group's
        /// monitor. The call is simply forwarded to the group's
        /// <code>ActivationMonitor</code>.
        /// </summary>
        /// <param name="id"> the object's identifier </param>
        /// <param name="mobj"> a marshalled object containing the remote object's stub </param>
        /// <exception cref="UnknownObjectException"> if object is not registered </exception>
        /// <exception cref="RemoteException"> if call informing monitor fails </exception>
        /// <exception cref="ActivationException"> if an activation error occurs
        /// @since 1.2 </exception>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: protected void activeObject(ActivationID id, java.rmi.MarshalledObject<? extends java.rmi.Remote> mobj) throws ActivationException, java.rmi.activation.UnknownObjectException, java.rmi.RemoteException
        protected internal virtual void activeObject <T1>(ActivationID id, MarshalledObject <T1> mobj) where T1 : java.rmi.Remote
        {
            Monitor.ActiveObject(id, mobj);
        }