Sebas писал(а):Как идентифицировать клиента? Ну чем они у тебя отличаются?
Или тебе нужно количество активированных объектов?
TrackingService
Public Shared Sub RegisterTrackingHandler(ByVal handler As System.Runtime.Remoting.Services.ITrackingHandler)
Member of: System.Runtime.Remoting.Services.TrackingServices
Summary:
Registers a new tracking handler with the System.Runtime.Remoting.Services.TrackingServices.
Parameters:
handler: The tracking handler to register.
Public Interface ITrackingHandler
Member of: System.Runtime.Remoting.Services
Summary:
Indicates that the implementing object must be notified of marshaling, unmarshaling, and disconnection of objects and proxies by the remoting infrastructure.
Sub MarshaledObject(ByVal obj As Object, ByVal or As System.Runtime.Remoting.ObjRef)
Member of: System.Runtime.Remoting.Services.ITrackingHandler
Summary:
Notifies the current instance that an object has been marshaled.
Parameters:
obj: The object that has been marshaled.
or: The System.Runtime.Remoting.ObjRef that results from marshaling and represents the specified object.
Sub UnmarshaledObject(ByVal obj As Object, ByVal or As System.Runtime.Remoting.ObjRef)
Member of: System.Runtime.Remoting.Services.ITrackingHandler
Summary:
Notifies the current instance that an object has been unmarshaled.
Parameters:
obj: The unmarshaled object.
or: The System.Runtime.Remoting.ObjRef that represents the specified object.
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 117