package com.vaessl.app.connection;

import com.vaessl.app.shared.ServiceType;

/**
 * Identifies the connection a request targets. Implemented by request records
 * (e.g. {@code SearchRequest}, {@code SyncRequest}) so a single {@code HomeboxItemClient} can
 * resolve the underlying connection regardless of which feature is calling it.
 */
public interface ConnectionIdentifiable {

    String appUrl();

    String username();

    ServiceType serviceType();
}
