Class SendEvent
java.lang.Object
org.codice.ddf.spatial.ogc.csw.catalog.endpoint.event.SendEvent
- All Implemented Interfaces:
ddf.catalog.event.DeliveryMethod,ddf.catalog.operation.Pingable
public class SendEvent
extends Object
implements ddf.catalog.event.DeliveryMethod, ddf.catalog.operation.Pingable
SendEvent provides a implementation of
DeliveryMethod for sending events to a CSW
subscription event endpoint-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final double -
Constructor Summary
ConstructorsConstructorDescriptionSendEvent(net.opengis.cat.csw.v_2_0_2.GetRecordsType request, ddf.catalog.operation.QueryRequest query, org.codice.ddf.cxf.client.SecureCxfClientFactory<CswSubscribe> cxfClientFactory) SendEvent(TransformerManager transformerManager, net.opengis.cat.csw.v_2_0_2.GetRecordsType request, ddf.catalog.operation.QueryRequest query, org.codice.ddf.cxf.client.ClientBuilderFactory clientBuilderFactory, org.codice.ddf.security.Security security) -
Method Summary
Modifier and TypeMethodDescriptionvoidcreated(ddf.catalog.data.Metacard newMetacard) voiddeleted(ddf.catalog.data.Metacard oldMetacard) longintbooleanping()voidupdatedHit(ddf.catalog.data.Metacard newMetacard, ddf.catalog.data.Metacard oldMetacard) voidupdatedMiss(ddf.catalog.data.Metacard newMetacard, ddf.catalog.data.Metacard oldMetacard)
-
Field Details
-
JITTER_PERCENT
public static final double JITTER_PERCENT- See Also:
-
DEFAULT_PING_PERIOD
public static final long DEFAULT_PING_PERIOD
-
-
Constructor Details
-
SendEvent
public SendEvent(TransformerManager transformerManager, net.opengis.cat.csw.v_2_0_2.GetRecordsType request, ddf.catalog.operation.QueryRequest query, org.codice.ddf.cxf.client.ClientBuilderFactory clientBuilderFactory, org.codice.ddf.security.Security security) throws CswException - Throws:
CswException
-
SendEvent
public SendEvent(net.opengis.cat.csw.v_2_0_2.GetRecordsType request, ddf.catalog.operation.QueryRequest query, org.codice.ddf.cxf.client.SecureCxfClientFactory<CswSubscribe> cxfClientFactory) throws CswException - Throws:
CswException
-
-
Method Details
-
created
public void created(ddf.catalog.data.Metacard newMetacard) - Specified by:
createdin interfaceddf.catalog.event.DeliveryMethod
-
updatedHit
public void updatedHit(ddf.catalog.data.Metacard newMetacard, ddf.catalog.data.Metacard oldMetacard) - Specified by:
updatedHitin interfaceddf.catalog.event.DeliveryMethod
-
updatedMiss
public void updatedMiss(ddf.catalog.data.Metacard newMetacard, ddf.catalog.data.Metacard oldMetacard) - Specified by:
updatedMissin interfaceddf.catalog.event.DeliveryMethod
-
deleted
public void deleted(ddf.catalog.data.Metacard oldMetacard) - Specified by:
deletedin interfaceddf.catalog.event.DeliveryMethod
-
ping
public boolean ping()- Specified by:
pingin interfaceddf.catalog.operation.Pingable
-
getLastPing
public long getLastPing() -
getRetryCount
public int getRetryCount()
-