Need help understanding ipv6

Hi... I have a new wireless network camera and I've been successful at getting it connected but there is a big question as to whether I have the ipv6 part of it set up correctly... By the way, on the router end I have an AEBS...
I've been trying to understand the correct format for an ipv6 IP address... I found a little Windows based utility called IP Convert that when I put in an ipv4 address like 10.0.1.252, it converts that to ::0A00:01FC which is simply the hex equivalent of the above decimal numbers... On the other hand the network camera produces a page that shows the same ipv4 address (10.0.1.252) in the ipv6 realm as one of the following two lines... (There is confusion as to which is really the ipv6 IP address but I don't understand either one or how they might relate to the simpler one, ::0A00:01FC, above... These two lines are,
fe80::280:f0ff:fea7:8c5c
2002:4c67:6043:0:280:f0ff:fea7:8c5c
On one of the camera pages, both the above lines sit next to the single header, ipv6 IP Address...
Can anyone make any sense out of these two lines I've posted above and how they might relate to 10.0.1.252 in the ipv4 realm???
Any help would be much appreciated... thanks... bob...

Hi Robert,
You're correct -- IPv6 addresses are written in hex. But you can't just convert your IPv4 address to hex and have it be IPv6. IPv6 and IPv4 have different address spaces -- there is no connection between your IPv4 address and your IPv6 address.
It sounds as if your network camera does in fact support IPv6. Out of curiosity, what model is it?
Both of the IPv6 addresses you listed are being used by the camera. The fe80 address is its link-local address. These addresses are not routeable. They're used for internal "housekeeping" communication on the subnet (more technically, they're used for the IPv6 replacement for ARP, which isn't used in IPv6).
The 2002 address is the camera's public IPv6 address.
Having two addresses like this is very common for IPv6 devices. IPv6 devices always have the fe80 link-local address. In addition, they might have one or more public IPv6 addresses (which don't always start with 2002).
Hope this helps,
-derek

Similar Messages

  • I need help understanding how the Apple components integrate to create a system across all my devices?

    I need help understanding how the Apple components connect to create a whole system across all my devices?
    Is there a resource that describes current system and associated functionality?
    For example:
    Buy A, B, C to achieve "X" 
    You will need:
    an internet provider which supports <specs>
    add D to achieve "Y"
    You will need:
    an internet provider which supports <specs>
    add "E" to achieve "Z"
    You will need:
    an internet provider which supports <specs>
    For example, I am looking at the Gen 6 Airport extreme.  For intended performance do I need broadband? if so what are the specs, or will basic internet service suffice?  Do I need the internet provider's modem or does the Airport extreme replace that?  And then I think, if I am doing this, I should also look at Apple TV....What do I need and Why?  Then I look at the New Desk top coming out in the fall, and I think well, if I wait and get this, what does this component do for the system, and what becomes redundant? What does this awesome desktop do for my ability to sit and use a new macbook air when I travel  or sit on the couch in my PJs?
    If there was a place that plainly stated "if you buy the new dektop you can configure a system including only these components and achieve <this result> and by adding <additional components> you will achieve this result.
    I have been to the genius store a few times, but I come out of there more confused unless I have SPECIFIC questions or already know what to buy. 
    A "System Configuration App" would be a really great sales tool--Just saying.

    I have no idea what "fully optimized" means.
    No Apple device will let you watch broadcast TV. The Apple TV is a good option for watching streaming TV from iTunes, NetFlix and Hulu. If you want to watch from other sources, you may need to look at other devices.
    Any Mac computer or iPad will allow you to surf the web.
    What business software?
    Time Capsule is a good option for back ups.
    Update what across all devices?
    For accessing documents from all devices, a service like Dropbox is your best bet.
    I have no idea what "step as far away from an internet provider as possible" means. If you want Internet access, you need an Internet provider.
    Lighting fast speed for what? Processor? The specs are listed for all devices in the Online Store. Internet? We're back to the service provider.
    Technology changes. The only way to keep pace with it beyond a couple of years is to buy new stuff.
    The bottom line is you need to look at the specs for devices availble and at your budget and decide what best meets your needs. If you are unable to do that on your own, there are lot of technology consultants out there who will, for a fee, look at your exact situation, make recommendations and even handle the purchase and set up. Perhaps that would be the best route for you.
    Best of luck.

  • Need Help Understanding How To Use iMessage Between Two iPhones

    I have an iPhone 4 and my wife an iPhone 3GS.  We both have iOS 5, but I have discovered something about iMessage I need to make sure I understand correctly.  As I understand it iMessage can send text even if our voice carrier service is unavailable.  I tend to loose signal inside the building I work in.  I usually can get texts in and out, but sometimes not.  But in testing the two phones sending iMessages, I've noticed is that if I have one of the phones with iMessage turned on and the other with iMessage turned off, the two phones will not be able to exchange text.  Is that how it's supposed to work?  Even though one of these phones can receive an iMessage doesn't mean the other one send one back.  Can't the system detect when one phone is connected and another one not, and the one that is not gets sent SMS messages instead?  I don't want to try to send my wife an iMessage because I can't get a voice signal in my building, but her have iMessages turned off and not able to get any messages from me, iMessage or SMS.  I guess I need help better understanding how this actually works between the two phones so I can always get texts back and forth between my wife and I.  My other misgiving is that this iMessage thing consumes my data limit.  My wife gets unlimited because she had her phone before the limits were imposed, but I got on board after, so I am hesitant to use iMessage all the time because of it.  I have no intention to send picture mail through iMessage, but the thing is if I wanted to switch to SMS to send picture mail to save data, but my wife's phone is set to iMessage, she won't get it.  If this is how this thing is supposed to work, I'm not really impressed.  Some insight would be appreciated

    I think you are making this way too complicated. Why are you turning iMessage off? If you are at your office connect to the WiFi there and send your wife messages that way (unless your office is blocking the port iMessage uses). When possible the two phones will use iMessage but will revert to SMS is iMessage is not available if that option is set that way.
    I would not worry about using up your data plan if you have the 2GB, text iMessages are going to be very small and MMS (picture) ones are not very large either. Unless you are sending hundreds of picture iMessages a day you will have a hard time using up your data.
    If you are near an Apple Store you should explore signing up for an intro iPhone course and have them run through iMessage options.

  • Need help understanding syntax

    Hi,
    I need some help to understand the following syntax .
    PPRAMImpl am = (PPRAMImpl)pageContext.getApplicationModule(webBean); What is this PPARAMImpl?
    I know "am " is a variable . And with pageContext.getApplicationModule(webBean) we are trying to get the AM name for that page, then why do we need to add (PPARAMImpl) before pageContext.getApplicationModule(webBean) ?
    For example in plsql , apps.testpkg.mainproc(param1,param2)
    means
    schema.packagename.procedurename(parameter1,parameter2).
    So can you explain "PPRAMImpl am = (PPRAMImpl)pageContext.getApplicationModule(webBean)" in that manner?
    pageContext.getParameter(EVENT_PARAM))
    What is this ?
    What are the possible values for EVENT_PARAM ? And by the way , I need help on setting a default value for one of my search parameters in a search region .
    Correct me If I am wrong, this is what I thought
    1. EOImpl has setters and getters for that attribute. So call the setter method in controller and set the value , if this is right then I don't know how to right the code ,can you give me some sample code ?
    or
    2. get the view object name and then set the value for that . like viewobject.setattribute('att name',att value'),if this is right then I don't know how to right the code ,can you give me some sample code ?
    Thanks
    Sri.

    Hi,
    No. These are not equal.
    pageContext.getApplicationModule(webBean) return AM of type OAApplicationModule.
    It would be fine if your variable am, is of type OAApplicationModule:
    OAApplicationModule am = pageContext.getApplicationModule(webBean) // this would be fine.
    But as you are using of type PPRAMImpl, you must have to type-cast that externally using:
    PPRAMImpl am = (PPRAMImpl)pageContext.getApplicationModule(webBean);
    If you are still not clear, then refer any java book or google for internal & external type-casting in java.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Need help understanding how ipv4 and ipv6 co-exist

    I'm trying to understand something that happened in our network recently. Current, we're all ipv4 based, but a few machines here and there have ipv6 enabled by mistake. Everything has been working ok, but recently we had some dhcp issues. I'm trying to understand how exactly ipv6 and ipv4 work together.
    Questions:
    - if we have workstations with ipv6 enabled but no dhcpv6 servers, does the ff02::1:2 multicast address exist on the network? If something starts up a dhcpv6 server somewhere, would that explain why several workstations have started sending out dhcpv6 solicit messages?
    - If workstations attempt to get an address via dhcpv6 and get no response, will it try dhcp with ipv4, or will it just assign a 169.254.*.* address?

    Muse allows you to create websites without knowing HTML / CSS etc...
    If you can use Indesign you'll be able to use Muse.
    A site created in Muse can be published with just a couple of clicks to Business Catalyst.
    However Business Catalyst can do much more ~ it can allow you to create and manage the website of almost any kind of business.
    Here is a short blurb from the BC / FAQ:
    "Once your clients log in, they will have immediate access to their contact database, orders, web form submissions, products, catalogs, web pages, and email marketing campaigns from one central location — all built to work together."
    find out more here: http://www.adobe.com/products/business-catalyst/faq.html

  • I need help understanding how this works. AS 2.0

    Its my first time here and i only started learning flash today. I aint too great with maths and i was showed this piece of code that makes a triangles point follow the cursor. It involved mathimatical things ( which i aint so great at) and the guy said "You dont need to know how it works, just how to use it." well i copied his code and it worked, but i have no idea how to use it in other rotation apart from the one he taught us. I dont even understand how to redo his code i saved it to a word document and anytime i wanted to make something rotate something in that fashion i would refer to that. But i dont want to have to do that, i want to know how to use it, dont have to understand it, but use it for other rotation matters. If you are going to help, please try to be a bit simmple i explaining it, cause im new. Dont get me wrong i aint thick but i can find it a bit hard to follow some things, that is i my current problem.
    here is the rotation code:
    onEnterFrame = function()
    hero._rotation = getmouse(hero);
    getmouse = function(mc:MovieClip):Number
    dy = _ymouse-mc._y;
    dx = _xmouse-mc._x;
    rad = Math.atan2(dy,dx);
    rotate = rad*180/Math.PI
    return rotate+90
    also if it helps, here is the video i was watching: http://www.youtube.com/watch?v=w3OfrpbNhHs
    please if you can, explain how the entire thing works.
    thanks for any help given in advance.

    Hi,
    Here's a short primer.  It may not be sufficient but here goes.
    1st, move the closing bracket at the end and put it on the third line.  This makes the code more efficient
    onEnterFrame = function(){                               // this causes Flash to repeatedly
                                                                              execute the next line at the
                                                                              frame rate you selected
                                                                              for your document
           hero._rotation = getmouse(hero);               // this tells Flash to rotate a
                                                                              movie clip (named hero) based
                                                                              on the function getmouse()
    };                                                                     // putting the }; here makes the
                                                                              code more efficient and readable
    getmouse = function(mc:MovieClip):Number{   // This is the function called with
                                                                             mc referring to hero that was
                                                                             passed from the second line.
         dy = _ymouse-mc._y;                                // dy means delta y which subtracts
                                                                            the y position of the movieclip
                                                                            from the mouses y position
         dx = _xmouse-mc._x;                               // dx = delta x (same as above line
                                                                            but on the x axis)
                                                                         // once you have the x and y sides
                                                                            you male a triangle.
                                                                            Now use trig to find the angle
         rad = Math.atan2(dy,dx);                           // the computer works in radians
                                                                            the arc tangent atan2 will give the
                                                                            angle in radians
         rotate = rad*180/Math.PI                            // you want to convert the radians to
                                                                            degrees, that's what this line does
         return rotate+90                                         // this returns the value of rotate back
                                                                            to the calling function in line 2.
                                                                            the +90 determines which part
                                                                        // of the hero movie clip is facing the
                                                                           mouse.
    If you put the mouse cursor over any of the green reserved words above in the Actions panel you will get a desctription of what these do.
    hope that helps.

  • I need help understanding export options and optimizing for web

    I have been using FCP X for a short while now and have a pretty good grasp on the editing capabilities. What I'm having a horrible time figuring out is the export/share options. The videos I create are typically approximately 1 minute in length and get posted to a web site (we have our own CMS and video player so I'm not using YouTube or Vimeo or anything like that). In order to post them I need them to be MP4s and then I have to create .webm and .ogv files. The source material I work with is generally great, high quality stuff, so I end up with very large output files from the initial FCP share master file options.
    When I use MPEG Streamclip to make my MP4s I end up with files that are still quite large and I can't seem to ever get the file size manageable without losing tons of quality. I do not have Compressor, though if that will solve my problem I will put in for the expense of it. What I'm trying to understand is what sorts of settings I should be trying out to get my file sizes to be manageable without completely compromising my quality. And I know this can be done, because the company I work for pays for a great quantity of video work each year (from an outside production firm) and the clips provided are beautiful in quality and small in file size -- for example, I recently worked on a video and got it into the 40MB range before quality went to crap, working off the same material the production company we do work with had theirs down into the teens and looking beautiful!
    To throw an even greater wrench in the works, I am working off a mac. But when my boss, on a pc, saves the mp4s I create (raw files -- not what is posted to the web) locally on his machine and views them from there the sound is always off a tad and the people in the videos look like they're lip synching.
    Any advice on either of these is MUCH appreciated. I've been trying to figure this out properly for months, and only today decided to stop seeing if someone else had the same question and just post my own.
    Bronwyn

    Thank you Karsten, this was helpful I have utilized the Quality slider and the frame size options before though with limited results. I've never messed with the Limit Date Rate option as I don't know what I'm doing with it, I see you put 5Mbps. Is that a typical setting that I could use?
    Using stream info, here's info on my original source file:
    Stream: Charles_0023_2.mov
    Duration: 0:00:51
    Data Size: 96.51 MB
    Bit Rate: 15.77 Mbps
    Video Tracks:
    H.264, 1920 × 1080, 29.97 fps, 15.64 Mbps
    Audio Tracks:
    MPEG-4 Audio stereo, 48 kHz, 127 kbps
    Stream Files:
    Charles_0023_2.mov (96.51 MB)
    As a comparison, here's the info on a similar clip that the company we sometimes use created:
    Stream: Charles_0019_4.mp4
    Duration: 0:00:49
    Data Size: 4.66 MB
    Bit Rate: 0.80 Mbps
    Video Tracks:
    JVT/AVC Coding, 710 × 400, 29.97 fps, 635 kbps
    Audio Tracks:
    MPEG-4 Audio stereo, 48 kHz, 162 kbps
    Stream Files:
    Charles_0019_4.mp4 (4.66 MB)
    I'm fine with bringing the frame size down some and modifying the limit data rate, but sometimes I feel like I'm forcing my video into something it's not and the quality suffers -- this is where my understanding of video work breaks down LOL. Any suggestions of how I can get my .mov into something like the the .mp4 above?
    Also have you had any experience with mp4s not playing back properly on pcs?
    Again, thank you!
    Bronwyn

  • Need help understanding profiles and color management

    I made the big leap from inexpensive inkjets to:
    1 Epson 3800 Standard
    2 Spyder3Studio
    I have a Mac Pro Quad, Aperture, PS3, etc.
    I have a steep learning curve ahead, here's what I've done:
    1 Read a lot of books, watched tutorials, etc.
    2 Calibrated the monitor
    3 Calibrated the printer several times and created .icc profiles
    What I've found:
    1 The sample print produced by Spyder3Print, using the profile I created with color management turned off in the print dialog, looks very good.
    2 When I get into Aperture, and apply the .icc profile I created in the proofing profile with onscreen proofing, the onscreen image does not change appreciably compared with the no proof setting. It gets slightly darker
    3 When I select File>Print image, select the profile I created, turn off color management and look a the resulting preview image it looks much lighter and washed out than the onscreen image with onscreen proofing turned on.
    4 When I print the image, it looks the same as was shown in the print preview...light and washed out, which is much different than what is shown in edit mode.
    5 When I open PS3 with onscreen soft-proofing, the onscreen image is light and washed out...just like displayed in PS3 preview. If I re-edit the image to look OK onscreen, and print with the profile and color management turned off, the printed image looks OK.
    So, why am I confused?
    1 In the back of my simplistic and naive mind, I anticipated that in creating a custom printer profile I would only need to edit a photo once, so it looks good on the calibrated screen, and then a custom printer profile will handle the work to print a good looking photo. Different profiles do different translations for different printers/papers. However, judging by the PS work, it appears I need to re-edit a photo for each printer/paper I encounter...just doesn't seem right.
    2 In Aperture, I'm confused by the onscreen proofing does not present the same image as what I see in the print preview. I'm selecting the same .icc profile in both locations.
    I tried visiting with Spyder support, but am not able to explain myself well enough to help them understand what I'm doing wrong.
    Any help is greatly appreciated.

    Calibrated the printer several times and created .icc profiles
    You have understand that maintaining the colour is done by morphing the colourants, and you have understood that matching the digital graphic display (which is emissive) to the print from the digital graphic printer (which is reflective) presupposes a studio lighting situation that simulates the conditions presupposed in the mathematical illuminant model for media independent matching. Basically, for a display-to-print match you need to calibrate and characterise the display to something like 5000-55000 kelvin. There are all sorts of arguments surrounding this, and you will find your way through them in time, but you now have the gist of the thing.
    So far so good, but what of the problem posed by the digital graphic printer? If you are a professional photographer, you are dependent on your printer for contract proofing. Your prints you can pass to clients and to printers, but your display you cannot. So this is critical.
    The ICC Specification was published at DRUPA Druck und Papier in Düsseldorf in May 1995 and ColorSync 2 Golden Master is on the WWDC CD for May 1995. Between 1995 and 2000 die reine Lehre said to render your colour patch chart in the raw condition of the colour device.
    The problem with this is that in a separation the reflectance of the paper (which is how you get to see the colours of the colourants laid down on top of the paper) and the amount of colourant (solid and combinations of tints) gives you the gamut.
    By this argument, you would want to render the colour patch chart with the most colourant, but what if the most colourant produces artifacts? A safer solution is to have primary ink limiting as part of the calibration process prior to rendering of the colour patch chart.
    You can see the progression e.g. in the BEST RIP which since 2002 has been owned by EFI Electronics for Imaging. BEST started by allowing access to the raw colour device, with pooling problems and whatnot, but then introduced a primary ink limiting and linearisation.
    The next thing you need to know is what colour test chart to send to the colour device, depending on whether the colour device is considered an RGB device or a CMYK device. By convention, if the device is not driven by a PostScript RIP it is considered an RGB device.
    The colour patch chart is not tagged, meaning that it is deviceColor and neither CIEBased colour or ICCBased colour. You need to keep your colour patch chart deviceColor or you will have a colour characterisation of a colour managed conversion. Which is not what you want.
    If the operating system is colour managed through and through, how do you render a colour test chart without automatically assigning a source ICC profile for the colourant model (Generic RGB Profile for three component, Generic CMYK Profile for four component)?
    The convention is that no colour conversion occurs if the source ICC device profile and the destination ICC device profile are identical. So if you are targetting your inkjet in RGB mode, you open an RGB colourant patch chart, set the source ICC profile for the working space to the same as the destination ICC profile for the device, and render as deviceColor.
    You then leave the rendered colourant test chart to dry for one hour. If you measure a colourant test chart every ten minutes through the first hour, you may find that the soluble inkjet inks in drying change colour. If you wait, you avoid this cause of error in your characterisation.
    As you will mainly want to work with loose photographs, and not with photographs placed in pages, when you produce a contract proof using Absolute Colorimetric rendering from the ICC profile for the printing condition to the ICC profile for your studio printer, here's a tip.
    Your eyes, the eyes of your client, and the eyes of the prepress production manager will see the white white of the surrounding unprinted margins of the paper, and will judge the printed area of the paper relative to that.
    If, therefore, your untrimmed contract proof and the contract proof from Adobe InDesign or QuarkPress, or a EFI or other proofing RIP, are placed side by side in the viewing box your untrimmed contract proof will work as the visual reference for the media white.
    The measured reference for the media white is in the ICC profile for the printing condition, to be precise in the WTPT White Point tag that you can see by doubleclicking the ICC profile in the Apple ColorSync Utility. This is the lightness and tint laid down on proof prints.
    You, your client and your chosen printer will get on well if you remember to set up your studio lighting, and trim the blank borders of your proof prints. (Another tip: set your Finder to neutral gray and avoid a clutter of white windows, icons and so forth in the Finder when viewing.)
    So far, so good. This leaves the nittygritty of specific ICC profiling packages and specific ICC-enabled applications. As for Aperture, do not apply a gamma correction to your colourant patch chart, or to colour managed printing.
    As for Adobe applications, which you say you will be comparing with, you should probably be aware that Adobe InDesign CS3 has problems. When targetting an RGB printing device, the prints are not correctly colour managed, but basically bypass colour management.
    There's been a discussion on the Apple ColorSync Users List and on Adobe's fora, see the two threads below.
    Hope this helps,
    Henrik Holmegaard
    technical writer
    References:
    http://www.adobeforums.com/webx?14@@.59b52c9b/0
    http://lists.apple.com/archives/colorsync-users/2007/Nov/msg00143.html

  • Need help understanding component id values in a region

    Hi, I have an adf region that is assigned the id of r1. The region uses a .jsff that has various UI components, for example a commandButton assigned the id of cb1. I'm trying to understand how ADF creates the id for the button that's rendered.
    For example, in this case, the id of the button is something like a:b:r1:1:cb1 (where a & b are the ids of other parent naming containers). What does the ":1" in r1:1 indicate? It seems like it's some index value and not referring to a naming container, but not sure what this means in the context of a region.
    Other times, I've noticed that the id of the same button is something like a:b:r1:0:cb1. In this case, r1:1 got changed to r1:0. What is the meaning of ":1" and "{noformat}:0{noformat}" in the ids and why would this change?

    I am assuming that your mum's email address is a sub-account of your dad's.
    If it is you need to set up a BTID for her. This will allow her email account to be managed and only accessed by her rather than being managed by your dad.
    If your dad is the account holder log onto his MyBT and go to "My Extras" and you will see "Manage BTMail" Click on that and you should see their email accounts. Make sure that you "gift" your mum's email to her.
    You should now set up a BTID using your mum's email address and password as the BTID username and password. Once you have done that she should be able to log onto MyBT using her BTID and you should be able to log onto her email.
    See links which might help
    http://bt.custhelp.com/app/answers/detail/a_id/45822/c/346,6769,7012/related/1
    http://bt.custhelp.com/app/answers/detail/a_id/48680/c/346,6769,7012/related/1
    You should make your dad's BTID the same as his BT email address and password. It makes it easier to manage and allow access to other BT features. It is his email address and password that you put onto Outlook Express.

  • Need help understanding why "1 is always equal to 1" is necessary in my Advanced Action

    I am using Captivate 7 and publishing as a SWF.
    I have an interaction that works, but there's one script that I use (which I found in a tutorial) that I don't understand the purpose of.
    The interaction is contained on a single slide where a user clicks two buttons in any order and a graphic appears after the second click. On each button I have a Conditional Advanced Action where I first check that it will always be true that "1 is equal to 1", then assign each variable with "1", then check that each variable was equal to 1 after which the graphic appears.
    The part that confuses me is checking if "1 is always equal to 1." Why is this script necessary in this case? Is it necessary because I'm including a Standard Advanced Action (assigning variables to "1") within the Conditional Advanced Action? Or is related to the fact that I'm doing everything on one slide (not using an On Enter slide event executing a Conditional Advanced Action)?
    Thanks.

    Perhaps it will help to think using different terms.
    If you need a script that performs a check against some condition, you need a Conditional Action. Maybe you need to show an image if button 1 has been clicked. And if button 2 has been clicked, you need to show a different image.
    Before checking to see which button has been pressed, you need to hide both images so that only the desired image is shown. So you need to perform the same action each time before checking some variable to take a specific action.
    This is where the "If 1=1" would come from.
    Each time the script is run, hide both images. Since the check to see if 1=1 will ALWAYS evaluate as true, the "ELSE" part will never be reached. So you would always perform the same actions just as a Standard Action would do.
    Perhaps if you posted some screen captures of your scripts, we might better explain it.
    Cheers... Rick

  • Need help understanding an example in Flex 4 Language Reference: flash.data.sqlstatement

    I don't understand how to use the example in Flash Builder. I read the link concerning this, but it's still unclear.
    1) Is this example a single file, or should the class definition be separate? I ask because I don't see any import statements at all, which makes me wonder how it would work.
    2) does init() act as the automatic entry point for this code, or is this function called from some unseen event?
    3) does dbStatement.itemClass = Employee represent the link between the main app and the class file?
    I've been looking all over for a solution to my problem in that I have 8 or 10 querries to a sqlite db in my main application and I would really like to move each to their own file, but I don't understand how to reference them from the main app, or how to share the results with the main app. I was hoping this was what I'm looking for.
    // Employee class definition
    package
        public class Employee
            public var name:String;
            public var ssn:String;
            public var id:uint;
            public override function toString():String
                return "id: "+ id.toString() + " name: " + name + " ssn: " + ssn;
    // using the Employee class as SQLStatement.itemClass
    var conn:SQLConnection;
    var dbStatement:SQLStatement;
    function init():void
        conn = new SQLConnection();
        conn.addEventListener(SQLEvent.OPEN, connOpenHandler);
        dbStatement = new SQLStatement();
        dbStatement.sqlConnection = conn;
        dbStatement.text = "SELECT id, name, ssn FROM employees";
        dbStatement.itemClass = Employee;
        var dbFile:File = new File(File.separator + "employee.db");
        conn.open(dbFile);
    function connOpenHandler(event:SQLEvent):void
        dbStatement.addEventListener(SQLEvent.RESULT, resultHandler);
        dbStatement.execute();
    function resultHandler(event:SQLEvent):void
        var result:SQLResult = dbStatement.getResult();
        if (result != null)
            var emp:Employee;
            var numRows:int = result.data.length;
            for (var i:int = 0; i < numRows; i++)
                emp = result.data[i];
                trace(emp.toString());
    Thanks
    Kristin

    Hi Kristin,
    1020: Method marked override must override another method.
    -overridesObject.toString
    There is popular misconception among ActionScripters about toString() method - if one want to provide custom implementation method of super class "override" keyword is needed.
    But in case of Object "toString" is dynamic and it is attached at runtime negating the need of overriding - instead implementation is to be provided by developer so one is not created at runtime. So one needs to just write her own: toString():String method.
    Methods of the Object class are dynamically created on Object's prototype. To redefine this method in a subclass of Object, do not use the override keyword. For example, a subclass of Object implements function toString():String instead of using an override of the base class.
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html#toString()
    hth,
    kind regards,
    Peter

  • Need help understanding a project please

    Hi, i just finished reading through this lab that i'm supposed to do, but have no idea what i am supposed to do. Could anyone here possibly help me understand it in an easier fashion? I would really appreciate it.
    Assignment:
    For this assignment, we will create a number class that can help us create classes for objects like clocks or angles. The number class will have to be general enough so that we can define different bases for it. Clocks need numbers of base 24 (or 12) and 60. Angles need numbers of base 360 and 60. For now, we are going to simplify things and only define constructors, a toString method, and an increment method. Of course, a complete number class would have many other methods, such as adding, subtracting, multiplying, comparing, and negating the numbers. Since a number is made up of digits, we will also define a digit class. The number and digit classes appear very similar because they have nearly the same methods. The differences are in the implementations of the methods.
    Write a number class that represents a number with a given base. The number class has two constructors. The default constructor sets the base at 10 and the value to 0. The other constructor accepts a decimal value and a base. The constructors will have to create all of the digits (as objects of the digit class) and store them in some kind of list. Create a toString method and an increment method. These two methods will use the corresponding methods of the digit class to do most of the work for them.
    Write a digit class that represents a single digit with a given base. The digit class has two constructors. The default constructor sets the base at 10 and the value to 0. The other constructor accepts a decimal value and a base. Create a toString method and an increment method. The increment method should return a boolean: true if there is a carry and false if not.
    For both classes, you can assume that the bases are restricted to binary, octal, decimal or hexadecimal and the values are non-negative.
    Instructions:
    Write a test driver that proves that your classes work.

    Myrdwin wrote:
    It's not that i didn't bother to ask him earlierSo, your teacher gave you the assignment, without giving you any opportunity to talk to him between when he assigned it and when it's due?
    I just finished the polymorphism lab with a bunch of farm animals last night. WHOAH! TMI!!! ;-)
    Am i just reading into the lesson to much and making it way more complicated than it actually is?Like I said, I'm not going to try to interpret the whole thing for you but a) It tells you what to do with the c'tors, and b) I would always assume that "create a method" or "define a method" or whatever he says means "create a *fully functional, correct* method", unless he explicitly states to leave it empty for now.
    My advice is to use your best judgment as to what's expected, and get started on that basis. At your first opportunity to speak to your teacher, explain your uncertainty and the assumptions you made.
    If you have specific questions along the way, post them here, along with your code or an SSCCE.
    When you post code, use the CODE button or [code] and [/code] tags to preserve formatting and make your code readable.
    Edited by: jverd on Oct 3, 2008 11:57 AM

  • Need help understanding OID basic’s regarding portal

    Hi I am new to v2 portal and OID and need some help.
    Because all portal users are oid users, currently default settings are in place. My issues are follows:-
    Q1     Portal user passwords are expiring after a few weeks, how do I reset the expiration time for portal user passwords.
    Is using the OID Manager (Java – client app) the only way and how do you do it?
    Q2.     My understanding is that the OID contains all policy details regarding user access.
    How does OID map to portal so that portal uses use a particular OID, as portal v2 is install out of the box this is already done for me, an explanation would be very helpful.
    Thanks in anticipation
    SD.

    I'm no expert, but a command that weeds out some the local stuff would have beennetstat -af inet
    Most of those listings are local system sockets, and look fairly normal (with that command, my machine has about the same number of entries). Any given browsing session will open all kinds of temporary connections that eventually time out, and by closing Safari most of them should eventually close.
    Netstat will show a bunch of stuff, not necessarily limited to the internet. You can also use the *Activity Monitor* application, and another useful tool is MenuMeters - I still use it to keep track of network and disk activity. Are there other machines on your network (or cable node)? With a 25mbit connection, you would need to be running a lot of stuff to slow it down.

  • Need help understanding whats making my cpu kernel.

    While im running protools my cpu keeps kerneling,  no set time or reason. If any bode can please help me understand this lingo I would really appreciate it.
    Thank you-Sam
    Fri Jan 25 15:31:03 2013
    panic(cpu 8 caller 0xffffff7f80cc40c1): "Spinlock acquisition timed out: lock=0xffffff8020144680, lock owner thread=0xffffff802b342620, current_thread: 0xffffff8020380098"@/SourceCache/xnu/xnu-1504.9.37/osfmk/i386/locks_i386.c:346
    Backtrace (CPU 8), Frame : Return Address
    0xffffff812a093d30 : 0xffffff8000204b99
    0xffffff812a093e30 : 0xffffff7f80cc40c1
    0xffffff812a093e50 : 0xffffff7f80cc44d4
    0xffffff812a093e80 : 0xffffff7f80cedfe3
    0xffffff812a093ea0 : 0xffffff7f80cbe48b
    0xffffff812a093ec0 : 0xffffff7f80cd31c7
    0xffffff812a093ef0 : 0xffffff7f8092b8ca
    0xffffff812a093f10 : 0xffffff7f80935dd1
    0xffffff812a093f30 : 0xffffff800053adf7
    0xffffff812a093f60 : 0xffffff800028504e
    0xffffff812a093fa0 : 0xffffff80002c7387
          Kernel Extensions in backtrace (with dependencies):
             com.apple.driver.AirPortBrcm43224(427.36.9)@0xffffff7f80927000->0xffffff7f80aa1 fff
                dependency: com.apple.iokit.IOPCIFamily(2.6)@0xffffff7f80641000
                dependency: com.apple.iokit.IO80211Family(314.1.1)@0xffffff7f80902000
                dependency: com.apple.iokit.IONetworkingFamily(1.10)@0xffffff7f808e8000
             com.apple.driver.AppleACPIPlatform(1.3.5)@0xffffff7f80cbb000->0xffffff7f80cffff f
                dependency: com.apple.iokit.IOACPIFamily(1.3.0)@0xffffff7f808aa000
                dependency: com.apple.iokit.IOPCIFamily(2.6)@0xffffff7f80641000
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    10J869
    Kernel version:
    Darwin Kernel Version 10.7.0: Sat Jan 29 15:16:10 PST 2011; root:xnu-1504.9.37~1/RELEASE_X86_64
    System model name: MacPro5,1 (Mac-F221BEC8)
    System uptime in nanoseconds: 9953456738824
    unloaded kexts:
    com.apple.driver.AppleIntel8254XEthernet          2.1.1b7 (addr 0xffffff7f80f5e000, size 0x122880) - last unloaded 91271432701
    loaded kexts:
    com.paceap.kext.pacesupport.snowleopard          5.8
    com.DataRobotics.driver.iSCSIInitiator          1.4.33
    com.digidesign.iokit.DigiDal          9.0.6f4
    com.motu.driver.USBMidiKext          1.5 37320
    com.apple.driver.AppleTyMCEDriver          1.0.2d2 - last loaded 20406175745
    com.apple.driver.AGPM          100.12.19
    com.apple.filesystems.autofs          2.1.0
    com.apple.driver.AppleHWSensor          1.9.3d0
    com.apple.driver.AppleMikeyHIDDriver          1.2.0
    com.apple.driver.AppleUpstreamUserClient          3.5.4
    com.apple.driver.AppleMCCSControl          1.0.17
    com.apple.driver.AppleHDA          1.9.9f12
    com.apple.driver.AppleMikeyDriver          1.9.9f12
    com.apple.kext.ATIFramebuffer          6.2.6
    com.apple.driver.AudioAUUC          1.54
    com.apple.ATIRadeonX3000          6.2.6
    com.apple.driver.AppleUSBDisplays          283
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.AudioIPCDriver          1.1.6
    com.apple.driver.ACPI_SMC_PlatformPlugin          4.5.0d5
    com.apple.driver.AppleLPC          1.4.12
    com.apple.iokit.IOAHCIBlockStorage          1.6.3
    com.apple.driver.Oxford_Semi          2.5.8
    com.apple.iokit.SCSITaskUserClient          2.6.5
    com.apple.BootCache          31
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.driver.AppleFWOHCI          4.7.1
    com.apple.driver.AppleUSBHub          4.1.7
    com.apple.driver.AirPortBrcm43224          427.36.9
    com.apple.driver.Intel82574L          2.1.4b1
    com.apple.driver.AppleEFINVRAM          1.4.0
    com.apple.driver.AppleAHCIPort          2.1.5
    com.apple.driver.AppleUSBEHCI          4.1.8
    com.apple.driver.AppleUSBUHCI          4.1.5
    com.apple.driver.AppleRTC          1.3.1
    com.apple.driver.AppleHPET          1.5
    com.apple.driver.AppleACPIButtons          1.3.5
    com.apple.driver.AppleSMBIOS          1.6
    com.apple.driver.AppleACPIEC          1.3.5
    com.apple.driver.AppleAPIC          1.4
    com.apple.driver.AppleIntelCPUPowerManagementClient          105.13.0
    com.apple.security.sandbox          1
    com.apple.security.quarantine          0
    com.apple.nke.applicationfirewall          2.1.11
    com.apple.driver.AppleIntelCPUPowerManagement          105.13.0
    com.apple.driver.AppleProfileReadCounterAction          17
    com.apple.driver.DspFuncLib          1.9.9f12
    com.apple.driver.AppleProfileTimestampAction          10
    com.apple.driver.AppleProfileThreadInfoAction          14
    com.apple.driver.AppleProfileRegisterStateAction          10
    com.apple.driver.AppleProfileKEventAction          10
    com.apple.driver.AppleProfileCallstackAction          20
    com.apple.driver.AppleSMBusController          1.0.8d0
    com.apple.iokit.IONDRVSupport          2.2
    com.apple.kext.ATI5000Controller          6.2.6
    com.apple.kext.ATISupport          6.2.6
    com.apple.iokit.IOFireWireIP          2.0.3
    com.apple.iokit.IOSurface          74.2
    com.apple.iokit.IOBluetoothSerialManager          2.4.0f1
    com.apple.iokit.IOSerialFamily          10.0.3
    com.apple.iokit.IOSCSIParallelFamily          2.0.1
    com.apple.iokit.IOAudioFamily          1.8.0fc1
    com.apple.kext.OSvKernDSPLib          1.3
    com.apple.driver.AppleHDAController          1.9.9f12
    com.apple.iokit.IOGraphicsFamily          2.2
    com.apple.iokit.IOHDAFamily          1.9.9f12
    com.apple.iokit.AppleProfileFamily          41
    com.apple.driver.AppleSMC          3.1.0d3
    com.apple.driver.IOPlatformPluginFamily          4.5.0d5
    com.apple.driver.AppleSMBusPCI          1.0.8d0
    com.apple.driver.AppleUSBMergeNub          4.1.8
    com.apple.iokit.IOUSBHIDDriver          4.1.5
    com.apple.driver.AppleUSBComposite          3.9.0
    com.apple.driver.BroadcomUSBBluetoothHCIController          2.4.0f1
    com.apple.driver.AppleUSBBluetoothHCIController          2.4.0f1
    com.apple.iokit.IOBluetoothFamily          2.4.0f1
    com.apple.iokit.IOSCSIBlockCommandsDevice          2.6.5
    com.apple.driver.XsanFilter          402.1
    com.apple.iokit.IOFireWireSerialBusProtocolTransport          2.0.1
    com.apple.iokit.IOFireWireSBP2          4.0.6
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          2.6.5
    com.apple.iokit.IOBDStorageFamily          1.6
    com.apple.iokit.IODVDStorageFamily          1.6
    com.apple.iokit.IOCDStorageFamily          1.6
    com.apple.iokit.IOFireWireFamily          4.2.6
    com.apple.iokit.IOAHCISerialATAPI          1.2.5
    com.apple.iokit.IOSCSIArchitectureModelFamily          2.6.5
    com.apple.iokit.IOUSBUserClient          4.1.5
    com.apple.iokit.IO80211Family          314.1.1
    com.apple.iokit.IONetworkingFamily          1.10
    com.apple.iokit.IOAHCIFamily          2.0.4
    com.apple.iokit.IOUSBFamily          4.1.8
    com.apple.driver.AppleEFIRuntime          1.4.0
    com.apple.iokit.IOHIDFamily          1.6.5
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.driver.DiskImages          289
    com.apple.iokit.IOStorageFamily          1.6.2
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.security.TMSafetyNet          6
    com.apple.driver.AppleACPIPlatform          1.3.5
    com.apple.iokit.IOPCIFamily          2.6
    com.apple.iokit.IOACPIFamily          1.3.0

    panic(cpu 8 caller 0xffffff7f80cc40c1): "Spinlock acquisition timed out: lock=0xffffff8020144680
    Kernel Extensions in backtrace (with dependencies):
             com.apple.driver.AirPortBrcm43224(427.36.9)
    That is a process cooperation problem. It happened in code called by the Airport drivers.
    It does not generally happen in unmodified Mac OS X, but you have made several modifications:
    com.paceap.kext.pacesupport.snowleopard          5.8
    com.DataRobotics.driver.iSCSIInitiator          1.4.33
    com.digidesign.iokit.DigiDal          9.0.6f4
    com.motu.driver.USBMidiKext          1.5 37320
    Pace app is a know bad actor installed for copy protection by several different expensive software suites. It assumes that you stole the software. You may need to contact the developer to get help in removing it.
    What model Mac Pro are you running?

  • Need help understanding how DNS should be set up...

    Some time back I was advised to switch my network settings such as to start using the OpenDNS servers rather than the ISP (Comcast) servers that were setup by default... I did so, at least I did so in the Network/DNS settings on my MacBook Pro... But I just noticed today that my Airport Extreme Router has its own DNS settings and those are still set to the Comcast settings...
    How does all this work??? Which DNS settings matter, the ones in the Network setup for each Mac or PC in my home network??? Or do the Router settings win over everything else???
    I need a brief tutorial on how to properly set up the DNS settings not just for a computer but for an entire home network... Any feedback???? thanks...

    I do appreciate the help... One other interesting thing I encountered recently... I was in Oakland airport where they have free wifi... I found myself unable to connect though I had been successful in other earlier visits there.... I got curious and played for a while... What I discovered (after an hour of trying but I had time) was that I had to change my DNS settings on my computer to an address very similar to the home page IP of the airport website... I don't recall now how I came to finally figure that out but it was happenstance more than anything... I vaguely recall me stumbling upon some message where the airport was suggesting a DNS value to use. It popped up on the screen or inside the Network settings or somewhere.. I think it was when I was walking through the connection wizard which I did several times before I had success...
    But I've never had that experience in airports before... All of this shows how my ignorance of DNS keeps finding ways to impact my ability to "get connected" when here or there... Again, just another interesting DNS issue I stumbled upon recently... thanks...

Maybe you are looking for