org.eclipse.keyple.card.generic.ChannelControl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of keyple-card-generic-java-lib Show documentation
Show all versions of keyple-card-generic-java-lib Show documentation
Keyple add-on to manage cards with low level API
The newest version!
/* **************************************************************************************
* Copyright (c) 2023 Calypso Networks Association https://calypsonet.org/
*
* See the NOTICE file(s) distributed with this work for additional information
* regarding copyright ownership.
*
* This program and the accompanying materials are made available under the terms of the
* Eclipse Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
************************************************************************************** */
package org.eclipse.keyple.card.generic;
/**
* Policy for managing the physical channel after a card request is executed.
*
* @since 3.0.0
*/
public enum ChannelControl {
/**
* Leaves the physical channel open.
*
* @since 3.0.0
*/
KEEP_OPEN,
/**
* Terminates communication with the card.
* The physical channel closes instantly or a card removal sequence is initiated depending on the
* observation mode.
*
* @since 3.0.0
*/
CLOSE_AFTER
}