public void _setIndex(OID oid) { byte[] _oidBytes = oid.toByteArray(); int[] _oidInts = oid.toIntArray(); int arrayOffset = 11; int _len; _index = new OID(_oidInts, 11, (oid.size() - 11)).toString(); setEventIndex(_oidInts[arrayOffset]); arrayOffset += 1; }
public void _setIndex(OID oid) { byte[] _oidBytes = oid.toByteArray(); int[] _oidInts = oid.toIntArray(); int arrayOffset = 10; int _len; _index = new OID(_oidInts, 10, (oid.size() - 10)).toString(); setUdpEndpointLocalAddressType(_oidInts[arrayOffset]); arrayOffset += 1; _len = _oidInts[arrayOffset++]; setUdpEndpointLocalAddress(_getObjectIdentifier(_oidInts, arrayOffset, _len)); arrayOffset += _len; setUdpEndpointLocalPort(_oidInts[arrayOffset]); arrayOffset += 1; setUdpEndpointRemoteAddressType(_oidInts[arrayOffset]); arrayOffset += 1; _len = _oidInts[arrayOffset++]; setUdpEndpointRemoteAddress(_getObjectIdentifier(_oidInts, arrayOffset, _len)); arrayOffset += _len; setUdpEndpointRemotePort(_oidInts[arrayOffset]); arrayOffset += 1; setUdpEndpointInstance(_oidInts[arrayOffset]); arrayOffset += 1; }