001package jmri.jmrit.logixng;
002
003import java.util.Map;
004
005/**
006 * Manager for FemaleSockets
007 * 
008 * @author Daniel Bergqvist Copyright (C) 2020
009 */
010public interface FemaleSocketManager {
011    
012    interface SocketType {
013        
014        String getName();
015        
016        String getDescr();
017        
018        BaseManager<? extends MaleSocket> getManager();
019        
020        FemaleSocket createSocket(Base parent, FemaleSocketListener listener, String name);
021        
022    }
023    
024    Map<String, SocketType> getSocketTypes();
025    
026    SocketType getSocketTypeByType(String type);
027    
028}