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    public interface SocketType {
013        
014        public String getName();
015        
016        public String getDescr();
017        
018        public BaseManager<? extends MaleSocket> getManager();
019        
020        public FemaleSocket createSocket(Base parent, FemaleSocketListener listener, String name);
021        
022    }
023    
024    public Map<String, SocketType> getSocketTypes();
025    
026    public SocketType getSocketTypeByType(String type);
027    
028}