Code/SifCommonFramework/Systemic.Sif.Framework/Subscriber/GenericSubscriber.cs
/// <summary>
/// This method will send a SIF Request to the Zone. Before the SIF Request is made, the MakeRequest(IZone)
/// method is checked. Unless the AddToBroadcastRequestQuery(Query) method is overwritten, the SIF Request
/// will be made against all SIF Data Objects of the appropriate type.
/// </summary>
/// <param name="zone">Zone the SIF Request will be made to.</param>
This method will send a SIF Request to the Zone. Before the SIF Request is made, the MakeRequest(IZone)
method is checked. Unless the AddToBroadcastRequestQuery(Query) method is overwritten, the SIF Request
will be made against all SIF Data Objects of the appropriate type.
This method will send a SIF Request to the Zone . Before the SIF Request is made the MakeRequest ( IZone ) method is checked . Unless the AddToBroadcastRequestQuery ( Query ) method is overwritten the SIF Request will be made against all SIF Data Objects of the appropriate type .
protected virtual void BroadcastRequest(IZone zone)
        {
            if (MakeRequest(zone))
            {
                if (log.IsDebugEnabled) log.Debug("Making a request for " + SifObjectType.Name + " in zone " + zone.ZoneId);
                Query query = new Query(SifObjectType);
                query.SifVersions = new SifVersion[] { AgentConfiguration.Version };
                AddToBroadcastRequestQuery(query, zone);
                zone.Query(query);
            }
        }
protected virtual void BroadcastRequest ( IZone zone ) { if ( MakeRequest ( zone ) ) { if ( log . IsDebugEnabled ) log . Debug ( " " + SifObjectType . Name + " " + zone . ZoneId ) ; Query query = new Query ( SifObjectType ) ; query . SifVersions = new SifVersion [ ] { AgentConfiguration . Version } ; AddToBroadcastRequestQuery ( query , zone ) ; zone . Query ( query ) ; } }
This method will send a SIF Request to the Zone.
This method will send a SIF Request to the Zone .
// Check if a SIF Request needs to be made at this point in time. // Create a Query for the SIF Data Object type. // Without this, an error occurs. // Add any query conditions you may have.
zone
IZone
Zone the SIF Request will be made to.
Zone the SIF Request will be made to .