Class StreamWrapperInjector
java.lang.Object
org.eclipse.net4j.signal.wrapping.StreamWrapperInjector
- All Implemented Interfaces:
org.eclipse.net4j.util.container.IElementProcessor
- Direct Known Subclasses:
GZIPStreamWrapperInjector
,XORStreamWrapperInjector
public class StreamWrapperInjector
extends Object
implements org.eclipse.net4j.util.container.IElementProcessor
- Author:
- Eike Stepper
-
Constructor Summary
ConstructorDescriptionStreamWrapperInjector
(String protocolID, org.eclipse.net4j.util.io.IStreamWrapper streamWrapper) -
Method Summary
Modifier and TypeMethodDescriptionboolean
org.eclipse.net4j.util.io.IStreamWrapper
int
hashCode()
protected Object
inject
(org.eclipse.net4j.util.container.IManagedContainer container, String productGroup, String factoryType, String description, SignalProtocol<?> signalProtocol) process
(org.eclipse.net4j.util.container.IManagedContainer container, String productGroup, String factoryType, String description, Object element) protected boolean
shouldInject
(org.eclipse.net4j.util.container.IManagedContainer container, String productGroup, String factoryType, String description, SignalProtocol<?> signalProtocol)
-
Constructor Details
-
StreamWrapperInjector
public StreamWrapperInjector(String protocolID, org.eclipse.net4j.util.io.IStreamWrapper streamWrapper)
-
-
Method Details
-
getProtocolID
-
getStreamWrapper
public org.eclipse.net4j.util.io.IStreamWrapper getStreamWrapper() -
process
public Object process(org.eclipse.net4j.util.container.IManagedContainer container, String productGroup, String factoryType, String description, Object element) - Specified by:
process
in interfaceorg.eclipse.net4j.util.container.IElementProcessor
-
shouldInject
protected boolean shouldInject(org.eclipse.net4j.util.container.IManagedContainer container, String productGroup, String factoryType, String description, SignalProtocol<?> signalProtocol) -
inject
protected Object inject(org.eclipse.net4j.util.container.IManagedContainer container, String productGroup, String factoryType, String description, SignalProtocol<?> signalProtocol) -
hashCode
public int hashCode() -
equals
-