Class CipAttribute

    • Method Detail

      • bytes

        public int bytes()
      • intValue

        public int intValue()
      • isReadOnly

        public boolean isReadOnly()
      • number

        public int number()
      • service

        public void service​(CipObject appContext,
                            CipRequest request,
                            int nesting)
        Description copied from class: CipObject

        Execute a CIP service on the object, using the request supplied. Supply a reply to the request and/or throw an appropriate CipException. Replies are not required before this routine returns.

        Direct service() calls MUST NOT BLOCK. Any operation that will take any significant time must be delegated to an executor. "Significant" may vary by application, but typically would be in the fractional millisecond range.

        Overrides:
        service in class CipObject
        Parameters:
        appContext - Root object for application path lookups. Generally a Mirrored Device from a port context.
        request - What to do and where to reply. Services to be handled by child objects are to be passed to their service() method with nesting+1.
        nesting - How many leading path segments items to skip when processing this request. Avoids copying the balance of an application path into a new request when passing a request to a child object.
      • set

        public void set​(java.nio.ByteBuffer source)
      • put

        public void put​(java.nio.ByteBuffer dest)
      • putType

        public void putType​(java.nio.ByteBuffer dest)
      • getData

        public BaseDataType<?> getData()
        Description copied from interface: DataWrapper
        Many CIP objects wrap a CIP data type. This interface allows the member resolver to access fragments of complex wrapped data in a uniform way.
        Specified by:
        getData in interface DataWrapper
        Returns:
      • setData

        protected void setData​(BaseDataType<?> data)