Package org.apache.plc4x.java.base.model
Class DefaultPlcConsumerRegistration
java.lang.Object
org.apache.plc4x.java.base.model.DefaultPlcConsumerRegistration
- All Implemented Interfaces:
PlcConsumerRegistration,InternalPlcMessage,InternalPlcConsumerRegistration
public class DefaultPlcConsumerRegistration extends Object implements InternalPlcConsumerRegistration
-
Constructor Summary
Constructors Constructor Description DefaultPlcConsumerRegistration(PlcSubscriber plcSubscriber, Consumer<PlcSubscriptionEvent> consumer, InternalPlcSubscriptionHandle... handles) -
Method Summary
Modifier and Type Method Description booleanequals(Object o)Collection<InternalPlcSubscriptionHandle>getAssociatedHandles()intgetConsumerHash()inthashCode()StringtoString()voidunregister()
-
Constructor Details
-
DefaultPlcConsumerRegistration
public DefaultPlcConsumerRegistration(PlcSubscriber plcSubscriber, Consumer<PlcSubscriptionEvent> consumer, InternalPlcSubscriptionHandle... handles)
-
-
Method Details
-
getConsumerHash
public int getConsumerHash()- Specified by:
getConsumerHashin interfaceInternalPlcConsumerRegistration
-
getAssociatedHandles
- Specified by:
getAssociatedHandlesin interfaceInternalPlcConsumerRegistration
-
unregister
public void unregister()- Specified by:
unregisterin interfacePlcConsumerRegistration
-
equals
-
hashCode
public final int hashCode() -
toString
-