package com.atlassian.bitbucket.scm.ssh;

import com.atlassian.bitbucket.scm.ScmRequest;

/**
 * Handles an SCM SSH command from a remote client.
 *
 * @see SshScmRequestHandler
 */
public interface SshScmRequest extends ScmRequest {

    /**
     * Cancel the command if active. This is invoked if the SSH session is terminated (for example the client has
     * disconnected).
     */
    void cancel();

}
