001    package org.crsh.term.spi;
002    
003    import java.security.Principal;
004    
005    /**
006     * @author <a href="mailto:julien.viet@exoplatform.com">Julien Viet</a>
007     */
008    public interface TermIOHandler {
009    
010      /**
011       * Handle an IO for the specified termi IO and user principal.
012       *
013       * @param io the io
014       * @param user the principal
015       */
016      void handle(TermIO io, Principal user);
017    
018    }