Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
/**
* An interface that is used to create a concrete class that is called by the the {@link TransmissionHandlerObserver}
* <p>
* This is used to implement classes like {@link ErrorHandler} and {@link PartialSuccessHandler}.
* This is used to implement classes like {@link com.microsoft.applicationinsights.internal.channel.common.ErrorHandler}
* and {@link com.microsoft.applicationinsights.internal.channel.common.PartialSuccessHandler}.
* @author jamdavi
*
*
*/
public interface TransmissionHandler {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* This class is used to store information between the transmission sender and the transmission handlers
* <p>
* An example class that uses this are {@link ErrorHandler}
* An example class that uses this are {@link com.microsoft.applicationinsights.internal.channel.common.ErrorHandler}
* @author jamdavi
*
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@


/**
* Enables the {@link TransmissionPolicyManager} to handle transmission states.
* Enables the {@link com.microsoft.applicationinsights.internal.channel.common.TransmissionPolicyManager} to handle transmission states.
* <p>
* This interface extends {@TransmissionHandler} to add the ability to observe when the transmission is completed.
* This interface extends {@link TransmissionHandler} to add the ability to observe when the transmission is completed.
* @author jamdavi
*
*/
public interface TransmissionHandlerObserver extends TransmissionHandler {

/**
* Used to add a {@link TransmissionHandler} to the collection stored by the {@link TransmissionPolicyManager}
* Used to add a {@link TransmissionHandler} to the collection stored by the
* {@link com.microsoft.applicationinsights.internal.channel.common.TransmissionPolicyManager}.
* @param handler The handler to add to the collection.
*/
void addTransmissionHandler(TransmissionHandler handler);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@
*/
public interface TransmitterFactory {
/**
* Creates the {@link TelemetriesTransmitter} for use by the {@link TelemetryChannel}
* Creates the {@link TelemetriesTransmitter} for use by the {@link com.microsoft.applicationinsights.channel.TelemetryChannel}
* @param endpoint HTTP Endpoint to send telemetry to
* @param maxTransmissionStorageCapacity Max amount of disk space in KB for persistent storage to use
* @param throttlingIsEnabled Allow the network telemetry sender to be throttled
* @return The {@link TelemetriesTransmitter} object
*/
TelemetriesTransmitter create(String endpoint, String maxTransmissionStorageCapacity, boolean throttlingIsEnabled);
/**
* Creates the {@link TelemetriesTransmitter} for use by the {@link TelemetryChannel}
* Creates the {@link TelemetriesTransmitter} for use by the {@link com.microsoft.applicationinsights.channel.TelemetryChannel}
* @param endpoint HTTP Endpoint to send telemetry to
* @param maxTransmissionStorageCapacity Max amount of disk space in KB for persistent storage to use
* @param throttlingIsEnabled Allow the network telemetry sender to be throttled
Expand Down