AMF3 references - do they reset for each serialized object?

I have been writing some PHP code to handle AMF3
serialization and deserialization so that I can pass objects back
and forth over a socket. In trying to implement the
AMF3
specification, I'm having a bit of trouble with the concept of
references. The
OSFlash
site has this to say:
References are more prominent in AMF3 than in AMF0, and one
should have two or three arrays to keep track of them, one for
strings, one for objects and possibly one for class definitions
(some combine the second and third array). References are
per-body, so the reference arrays should be reset every time
a new body is encountered (this can happen if calls are batched or
if a /onDebugEvents body is sent.
Does this mean that each time a serialized object is sent
with a socket.writeObject(someObj) call that I need to reset these
references and start from scratch? That would make A LOT of sense
because otherwise, these arrays to track objects would grow QUITE
large over time.

You mean the lines below at Timer.java file?
#if (taskFired) // Task fired; run it, holding no locks
# task.run();
That's true; run() method is called synchronously.
It's a little bit confusing that TimerTask must implement
the Runnable interface just for this purpose. It let me
think that's another thread :))
It could have been another interface which would probably
be called "TimerContainer" or something like that.
Anyway, thanks for info.
java cannot do 'real-time' in any sense of the word.
As for your question about threading in
java.util.Timer...
/me quickly glances at the src code.
all the Tasks are executed from the same Thread
synchronously.
rob,

Similar Messages

  • Increase the number of portions in process for each conversion object

    I experts,
    I configured SAP TDMS 3.0 with SP 14 to transfer test data from QAS to DEV (both is ECC 6.0) for the first test with TDMS TIM (Time Based Reduction).
    The data transfer phase is still running (99% - 60hs running). We analyzed the Display Runtime Information report and see that objects of conversion with similar calc. records and calc. GBytes have very different the Net Runtime.
    TMDS currently is working with four objects of conversion, processing a portion of each.
    Conversion objects that are running are:
    - Z_LTBP_002
    - Z_TSEGE_002
    - Z_VEVW_002
    - Z_YST27_002
    We check in the receiver system, and we see that is use only one DIA process to update the each table.
    How can increase the performance of the update? Is correct that use only 1 DIA process for this??
    Can I increase the number of portions in process for each conversion object?
    Any help is greatly appreciated.
    Regards,
    Sergio

    Hi,
    Check SAP Note 916763 - TDMS performance composite SAP note
    Note 890797 - SAP TDMS - required and recommended system settings
    Thanks
    Sunny

  • I paid for the PDF product, but when I go to download the file they ask for a serial number, I just

    I paid for PDF software which is PDF factory  Nitro PDF cute opdf easy pdf etc but the problem is when Idownload a file it asks me for a serial number, I just click the close icon and I continue in the pdf format, can you give me this serial number they keep asking me for
    christina ross
    [email protected]

    Hi, Christina.
    pdfFactory and Nitro PDF are 2 separate software products which are not made by Adobe Systems - they are made by other software companies. Please contact these other companies directly to get your serial number.
    Dave

  • HT4946 if i can not access my phone, how can they ask for a serial number? makes no sense!!!

    how am i able to access my iphone , if its already disabled?

    Unless you ask a more coherent question, no one here will be able to help you. What are you trying to do? Who is asking for a serial number?

  • Creating a converter for old serialized objects

    Hi,
    I have an application, which writes class objects to file, and then reads the class objects from file when the application is started up.
    Now the problem is, that if i create/modify/etc fields in the class, then all my data is lost (i.e., i cant read the data in when the application starts)....
    Now the docs state that a field can be added, and an old serialized object will still be recoverable...well for some reason this only works when it wants....i have tried several times, and its not a guarenteed thing....
    So i was wondering, is there any way to create an application, which can grab an old serialized version of an object (i.e. class), have a copy of the old class, and the new class, and somehow cast the old to the new...or something of that sort?
    thanks a lot!

    This might be of some help:
    http://www.onjava.com/pub/a/onjava/excerpt/JavaRMI_10/?page=5

  • Still have to change Context for EACH ODI Object

    Correct me if I'm wrong - Even though ODI touts the ability to have one set of code for various physical environments, it doesn't make moving from say DEV to TEST any much easier.
    What I mean to say is, even if I create 'InterfaceA' under the Logical Schema 'Phase1' and my Context is 'DEV' pointing to the Physical Schema for 'Development Data Server'; when I want to chance the Context to say 'TEST', I have to go into 'InterfaceA' and make that change to Context 'TEST'.
    Now, I have to do this for 'InterfaceA' through 'InterfaceXY' and so on for each Package, Scenario, Procedure and so on.
    Point being, there's not centralized mechanism to change all the Contexts for all the objects - therefore this functionality is nothing great.
    Might as well copy all the objects to a New Repository and change the Contexts there. Have a Master Rep for each DEV, TEST and PROD.

    What you need to do is ensure that you don't explicitly specify the context inside your ODI objects such as the interfaces. There is a setting called Execution Context which is what should be selected. Then when you execute your ODI scenarios you choose the execution context and this will be applied to all objects in the execution cycle

  • They asked for my Serial Number. ? Is this legit?

    I ordered a new video card for my Imac24 and welovemacs said they needed my SN# or their distributor would not release the part. Is this legit? Sounds kinda fishy to me.
    Thanks,
    Z

    Did you ask welovemacs why their distributor requires a serial? All I can think of is that the vendor wants the serial to verify that they ship the correct part.
    As to private data, there's probably little danger in releasing the serial. I can't think of any personal data that anyone outside of Apple could access with the S/N other than when your warranty will expire. So it's probably save to give it to the vendor.
    Regards.

  • Just downloader elements 13 from store card they ask for a serial number retrieval

    just downloader elements 13 from store card. They want a serial # to complete the instal. All I have is the # on the card which got the download but will not let me open the program. I have not gotten a email with a # in it I need advice please

    Photoshop Elements is not part of the Cloud, I will move this to that forum
    Photoshop Elements Forum http://forums.adobe.com/community/photoshop_elements
    Select a topic, then click I STILL NEED HELP to activate Photoshop Elements Online chat
    -http://helpx.adobe.com/contact.html?product=photoshop-elements or
    http://helpx.adobe.com/photoshop-elements/kb/troubleshoot-installation-photoshop-elements- premiere.html
    or
    Redemption Code http://helpx.adobe.com/x-productkb/global/redemption-code-help.html

  • P43 Neo-3 Board needs cmos reset for each restart

    Greetings, thanks to help from this board, I fixed an earlier problem, but I'm still having one issue.  I updated to the bios recommended for my cpu (the 7514v15.zip file installed via the usb method recommended on this site), and when I start up the computer (immediately after clearing cmos), it says that the bios is incorrect.  If I go into the bios from there, I have tried 1) loading the default settings and 2) loading optimized settings.  Each of those allows me to get into the OS and everything works normally, but if I restart, all of the fans start, etc for about 5 sec and go off about 5 sec, and this pattern repeats without a signal getting to the computer.  If I clear cmos, it works again, but gives me the bios error that I mentioned above.
    Any suggestions?
    Here's the gear (all new):
    N82E16820231209   MEM 2Gx2|GSK F2-6400CL4D-4GBPI-B R   http://www.newegg.com/Product/Product.aspx?Item=N82E16820231209&Tpk=N82E16820231209
    N82E16819115037   CPU INTEL|C2D E8400 3G 775 45N R (E0 stepping)   (coolermaster cooling)
    N82E16813130185   MB MSI P43 NEO3-F 775 RT   
    N82E16814150316   VGA XFX PVT98GYDLU 9800GT 512M RT
    N82E16817341016   PSU OCZ|OCZ500MXSP 500W RT   http://www.newegg.com/Product/Product.aspx?Item=N82E16817341016&Tpk=N82E16817341016
    N82E16811129021   CASE ANTEC|NINE HUNDRED BK RT

    That's not BIOS problem, you have some sort of instability.
    Test with just one memory stick only.
    Try bump memory voltage to 2.1V in BIOS and use 2T.
    Test each one memory stick alone with >>Memtest86<<

  • PDF file has three parallel lines for each line object.

    Working with Illustrator CS5 on a Windows 7 64-bit PC.
    When opening files created with a CAD application, I noticed that most each line, whether straight or curve, appeared to be an extended ellipse. In most cases, they contained a line in the middle.
    A closer observation determined that the lines where all separate objects, as shown in the figure below.
    As you can imagine, the extra objects increase the size of the PDF file enormously.
    Since I am using these files in MS Word, I need to convert them to either EMF or WMF format. However, Illustrator exports even larger files. I managed to reduce the size of the PDF, but the exported files are even larger than the original PDF file. Saving the original PDF file in AI format did not help either.
    The only way I see to reduce the file size, whether PDF or AI, is to eliminate the extra lines. Other than deleting each line at a time or redrawing the entire file, which I am already doing, is there any way to eliminate those pesky extra lines?
    Thanks!

    Larry,
    That would have been the easiest way. Unfortunately, that is not the case.
    If you look at the inserted figure, you would see that the half circle at the end of each triple line is a separate object. This means that all the lines, whether internal or external, are in fact individual strokes.

  • Reset Page Number for each Group

    I am currently creating a RTF template using XMLP 5.0
    My demanding boss gets back in town in five days, and he expects
    this report to be ready for production. :)
    But I haven't been able to figure out one last spec.
    The page number needs to be reset for each group.
    So for example, the total report is about 83 pages.
    In my RDF file (from Oracle Apps), I am grouping by a DEPT field.
    In my RTF template, I am page breaking on each DEPT.
    The page numbering should also be reset to 1 on each DEPT break.
    The reason for this, is that the report will be printed, then separated by DEPT.
    This way, each DEPT in the plant can receive their own individual report.
    Is there anyway to do this using XMLP 5.0?
    We would be willing to upgrade our XMLP,
    if this functionality is available in a later version.
    Thanks in advance.
    Mark K

    Hi Mark
    Yep, you can do this, you can even do it in 5.0 :o)
    For some reason it did not make the user doc in 5.0 ... an Easter egg if you like.
    So I'd recommend getting the 5.5 or later docs and using that for reference. Just search for "About Oracle XML Publisher Release 5.5" on metalink once you have that doc search it for "Oracle XML Publisher User's Guide" its a link to the PDF document.
    Then check pg 86/290 - Advanced Report Layouts > Batch Reports for details. This approach will work for 5.5. If you would like a sample then if you have installed the template builder there is an Advanced > Repeating Headers folder inwhich you will find an example.
    Regards, Tim

  • Is it Possible to set Top and Bottom Margin for each section?

    I've been googling and haven't found an answer to this problem.
    I need to specify a different top and bottom margin for each section in my document. The "document margins" apply to the whole document, so I've set those to a low amount, and I can set the Layout Left and right margins - but the "Layout Margins" do not allow "top and bottom" only "before and after". This is a critical difference, because if you have 2 pages in a section, only the first page gets the "before" margin, and only the 2nd page gets the "after" margin. This is a little odd, and I'm frankly surprised we are in version 4 of this app - and you can't set top and bottom margins for each section.
    If you insert a "layout break" on each page, then you can get the margins to reset for each page inside a section, but this is not an acceptable workaround as I need to setup templates for staff to use that will "flow" like a normal word processor.
    Does any one have any suggestions?

    On page 49 in the English Guide version it tells you about Lay-out margins. This is the text
    *Defining Layout Margins*
    *In a word processing document, a layout margin is the space around columns in a*
    layout.
    *To change the layout margin in a word processing document:*
    *1 Click in a column.*
    *2 Click Inspector in the toolbar, click the Layout button, and then click Layout.*
    *3 To change the outside margins of the column(s), enter values in the Left and Right*
    *fields under Layout Margins.*
    *4 To specify the amount of space above and below the column(s), enter values in the*
    *Before and After fields under Layout Margins.*
    *The new margins can’t extend outside the page margins set for the document in the*
    *Document inspector.*
    I hope this helps.

  • ADOBE form - page reset for the second SO

    Hi all,
    Iam working on sales order form ( ADOBE Form). Nneed to display SO header and item details.But it is not for a single SO and it is for multiple SOs.First i need to display one sales order and its items after completing the all items of the first SO , the second SO details should come in the next page. This is fine, i have done this, but for the second SO the page numbers should start from 1. That means the page no has to be reset for each SO change.Suppose assume that, if the first SO is taking 2 pages for  printing item details and second SO is taking 3 pages for printing item details then the page nos should follows the below sequence:
    First SO :  1 of 2
                    2 of 2
    second SO : 1 of 3
                        2 of 3
                        3 of 3.
    but it is printing as 1 of 5, 2 of 5 ..... like this. Because we are using the system field for this.Can we reset the page numbers according to the condition?
    Regards ,
    Vineel.

    Hi,
    One addition to the previous answer. You need to set the Output device in the program itself and the nodialog field of the outputparams should be set to 'X'. For example you can go through the below code.
    DATA:
      w_formname TYPE fpname,
      w_function TYPE funcname.
    DATA : docparams TYPE sfpdocparams.
    DATA : formoutput TYPE fpformoutput.
    DATA : outputparams TYPE sfpoutputparams.
    DATA:
          BEGIN OF fs_orders,
            vbeln TYPE vbak-vbeln,
          END OF fs_orders,
          t_orders LIKE STANDARD TABLE OF fs_orders.
    SELECT vbeln
      FROM vbak
      INTO TABLE t_orders
        UP TO 5 ROWS.
    CHECK sy-subrc EQ 0.
    w_formname = 'YH297_FORM_SALESORDER'.
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
      EXPORTING
        i_name                     = w_formname
      IMPORTING
        e_funcname                 = w_function
      E_INTERFACE_TYPE           =
    outputparams-dest = 'PDF1'.
    outputparams-nodialog = 'X'.
    LOOP AT t_orders INTO fs_orders.
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
          ie_outputparams = outputparams
        EXCEPTIONS
          cancel          = 1
          usage_error     = 2
          system_error    = 3
          internal_error  = 4
          OTHERS          = 5.
      IF sy-subrc NE 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CALL FUNCTION w_function
        EXPORTING
        /1bcdwb/docparams        =
          document                 = fs_orders-vbeln
      IMPORTING
        /1BCDWB/FORMOUTPUT       =
        EXCEPTIONS
          usage_error              = 1
          system_error             = 2
          internal_error           = 3
      IF sy-subrc NE 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CALL FUNCTION 'FP_JOB_CLOSE'
    IMPORTING
       e_result       =
        EXCEPTIONS
          usage_error    = 1
          system_error   = 2
          internal_error = 3
          OTHERS         = 4.
      IF sy-subrc NE 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDLOOP.
    Regards,
    Ram

  • Please help.  Aperture is asking for my serial numbers again.

    My Aperture and FCS applications are asking me for my serial number again. I've had them for a year now, why are they asking for my serial numbers again? I don't have the original packaging that has the numbers on them. What do I do?
    Thanks,
    Brian

    The_Jules wrote:
    I have a similar problem.
    I have a new MacBookPro and want to use Aperture on my new computer. But even copying the mentioned plist file doesn't change anything for Aperture.
    What should I do? Type in the license on the new Mac?
    Yes, just key it in manually. The license agreement allows you to install Aperture on one laptop and one desktop computer as long as both are owned and used by you. Keying it into a 2nd computer (as long as you're adhering to the license agreement) is not a problem.

  • FCS is asking me for my serial number again. Why?

    My Aperture and FCS applications are asking me for my serial number again. I've been using these apps for a year now, why are they asking for my serial numbers again? I don't have the original packaging that has the numbers on them. What do I do?
    Thanks,
    Brian

    http://www.apple.com/support/proapps/serialnumbers/
    The application's ID files might be lost or damaged.
    For FCS, go to the following location in Finder:
    Hard Drive/Library/Application Support/Pro Apps. Do you see a file there named *Final Cut Studio System ID* ? That's where the serial is stored, but the file is not human readable.
    Don't know the procedure for the Aperture ID file as I don't have it.
    So how do you manage to lose the serial number for a $1000 software package?

Maybe you are looking for