Package jmri.jmrit.logixng
Interface MaleSocketFactory<T extends NamedBean>
- Type Parameters:
T- the type of male socket
- All Known Subinterfaces:
MaleAnalogActionSocketFactory,MaleAnalogExpressionSocketFactory,MaleDigitalActionSocketFactory,MaleDigitalBooleanActionSocketFactory,MaleDigitalExpressionSocketFactory,MaleStringActionSocketFactory,MaleStringExpressionSocketFactory
- All Known Implementing Classes:
DebuggerMaleAnalogActionSocketFactory,DebuggerMaleAnalogExpressionSocketFactory,DebuggerMaleDigitalActionSocketFactory,DebuggerMaleDigitalBooleanActionSocketFactory,DebuggerMaleDigitalExpressionSocketFactory,DebuggerMaleStringActionSocketFactory,DebuggerMaleStringExpressionSocketFactory
public interface MaleSocketFactory<T extends NamedBean>
Factory class for male sockets. This class is used when a tool wants to add
extra male sockets around the male sockets for actions and expressions. An
example is the debugger.
-
Method Summary
Modifier and TypeMethodDescriptionencapsulateMaleSocket(BaseManager<T> manager, T maleSocket) Encapsulate a male socket into another male socket.
-
Method Details
-
encapsulateMaleSocket
Encapsulate a male socket into another male socket.- Parameters:
manager- the manager that registers this male socketmaleSocket- the male socket to be encapsulated- Returns:
- the new male socket that encapsulates the old male socket
-