[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/Remoting/Life
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/Remoting/Lifetime LifetimeServices.cs,NONE,1.1 |
Date: |
Sat, 19 Apr 2003 03:15:40 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/Remoting/Lifetime
In directory
subversions:/tmp/cvs-serv15432/runtime/System/Runtime/Remoting/Lifetime
Added Files:
LifetimeServices.cs
Log Message:
Stub the remainder of the "System.Remoting" namespace.
--- NEW FILE ---
/*
* LifetimeServices.cs - Implementation of the
* "System.Runtime.Remoting.Lifetime.LifetimeServices"
class.
*
* Copyright (C) 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
namespace System.Runtime.Remoting.Lifetime
{
#if CONFIG_REMOTING
using System.Security.Permissions;
[SecurityPermission(SecurityAction.LinkDemand,
Flags=SecurityPermissionFlag.Infrastructure)]
public sealed class LifetimeServices
{
// Internal state.
private static TimeSpan leaseManagerPollTime;
private static TimeSpan leaseTime;
private static TimeSpan renewOnCallTime;
private static TimeSpan sponsorshipTimeout;
// Get or set the global lease manager poll time setting.
public static TimeSpan LeaseManagerPollTime
{
get
{
return leaseManagerPollTime;
}
set
{
leaseManagerPollTime = value;
}
}
// Get or set the global lease time setting.
public static TimeSpan LeaseTime
{
get
{
return leaseTime;
}
set
{
leaseTime = value;
}
}
// Get or set the global renew on call time setting.
public static TimeSpan RenewOnCallTime
{
get
{
return renewOnCallTime;
}
set
{
renewOnCallTime = value;
}
}
// Get or set the global sponsorship timeout setting.
public static TimeSpan SponsorshipTimeout
{
get
{
return sponsorshipTimeout;
}
set
{
sponsorshipTimeout = value;
}
}
}; // class LifetimeServices
#endif // CONFIG_REMOTING
}; // namespace System.Runtime.Remoting.Lifetime
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/Remoting/Lifetime LifetimeServices.cs,NONE,1.1,
Rhys Weatherley <address@hidden> <=