Needs some basic information !!!

Hi All,
I am trying to configure a SRM System. How should I start?
When I am trying to open link "shop" in SRM web browser, it doesn't open anything. what went wrong? Do I need to do any setting in system for the same.
Please help.
Regards

After analysing the problem, we found the following error.
Function module "BBP_STATUS_READ" not found.
And the step where this problem occured is a form call as,
form remote_function_call using value(type).
  data rc type i value 0.
  do.
    call 'RfcImport' id 'Type' field type.
    if sy-xprog = 'JAVA'.
      system-call plugin
                  id 'JAVA' value 'FORW_JAVA'
                  id 'RC'   value rc.
  if there is no rollout on the JAVA side which
  rolls both, JAVA and ABAP, we return to the
  C-Stack and reach this point
Need solution to this. I am stuck and couldn't proceed further.
Regards

Similar Messages

  • Need some hardware information about PCI7030/6040E

    Hi,
    I'm working with LabViewRT and the PCI7030/6040E DAQ board. Everything works very well now, but I need some hardware information about this board for my dissertation. For example what kind of analog/digital converter does the bord use and so on.
    Thanks for your help.
    Regards,
    tobyrt

    TobyRT,
    For questions of this nature, where you are requesting hardware specifications for our data acquisition boards, I would recommend that you contact National Instruments Technical Support.
    I recommend that your contact method be via email where you can reach one of our Applications Engineers like myself. Please submit your email request via http://www.ni.com/ask.
    Regards,
    Justin Britten
    Applications Engineer
    National Instruments

  • Need more basic information

    I have the opportunity to teach a bunch of students at my school Flash.  I am NOT a Flash programmer.  I am/was a C/Unix and VB programmer.  So, I have 4-5 months to LEARN everything I need to learn (of course, I will continue to learn while I am teaching but I will have more time now) by then.  So, I started with the trial products.
    I then looked at http://www.adobe.com/devnet/flex/testdrive/articles/1_build_a_flex_app.html
    and it seems they are "assuming" a certain setup and knowledge.
    1) They talked about a MYSQL database.  So, does that mean I have to install MYSQL on my computer?
    2) Then they talked about a webserver.  Does that mean I need that installed too?
    3) They talked about
    I just think they should put "prerequisites" at the beginning of it.
    I really need more information about EACH project that is related to FLASH.  What basic information do I need, what do I really need to learn this stuff quickly and easily?
    NOTE: I posted this in Flex, but I really need information about EACH product related to FLASH, since that is what I will be teaching.  I will be teaching both the programming/designing part of Flash.
    Thank you all for any help you can give me!!!

    See past threads about how to learn about Flex.
    Try asking on Flash community forums.  I think there is a FlashCoders yahoo
    group.

  • Playing video in labview with some basic information output for my program.

    I'm trying to program something similar to NI's product DIAdem CLIP in LabVIEW.  A program that synchronizes test data with video.  I'm trying to find a decent video component that gives me basic information about what is being played.
    My first thought is to use Windows Media Player 10 w/ LabVIEW ActiveX container.  I'm a little confussed as to what I'm doing with it, however.  I can't find any information about Windows Media Player 10 in the Class Browser.
    All I really need is:
    Input:
    1. The file for the embedded media player to play.
    Output:
    1. The framerate of the file being played.
    2. The current frame.
    I think with that I should be able to put a marker in my data graphs that indicates where that data correlates with the playing video.
    Thank you for your input!
    -Nic

    Your best source of information regarding the Windows Media Player object model is MSDN. I've only done a little bit of playing with Windows Media embedded in LabVIEW, but enough to know it was a pain and not worth the effort. NI has a KnowledgeBase article that indicates you will probably need LV8. In terms of your specific query regarding position, you should take a look at the "Controls" object in the object model, as that has properties I think you're going to need.

  • Need Some Basic Directions, Please

    Hi,
    New to Nokia and this Ovi Suite. Have 2 brand new 6350's and ready to pull my hair out over the lack of directions for the basics I need to know. I've been all over the Nokia/Ovi site, reading the FAQs and watching the videos and browsing this forum but not finding what I'm looking for.
    The directions supplied have you install the software then run it. During that first use of the program you are prompted to choose your connection method (USB for me), then to connect the USB cable to the computer first and then the phone to the cable. Then the phone asks you what method you want to use and to choose the 'PC Suite" method.Then you wait while the program and Windows itself (I am using Win Xp Home) do their things and you get all the pop-ups and info balloons re new hardware detected and drivers and modems, etc.. until finally you get a Windows balloon notifacation showing "ready to use..." and the program shows your phone there in the lower left and all seems well.
    OK - but then what????
    What  is the proper way to end your session?
    Do you unplug the phone from the cable and then close the program, or do you close the program first then disconnect the cable from the phone?
    Are you supposed to leave the program running in the System Tray or can you click 'Exit" from there to make it close totally so it's not sucking up your resources while not actually in use?
    Then next time you want to connect the phone to pc and use the program ... ? Do you connect the phone to the cable first then open the program, or do you open the program first and wait for it to prompt you to connect a phone?
    Do you have to screw around each use with connecting/disconnecting the USB cable to the computer each time, or can you leave that end plugged in 24/7? If left plugged in 24/7 does rebooting the computer mess it up?
    When ending a session and unplugging the phone from its end of the cable,  are you supposed to use the 'Safely Remove Hardware" icon in the Windows System Tray? Is Windows supposed to make a "bing-bong' sound every time you connect or disconnect the phone from the USB cable, or only the very first time when it detects it as new hardware?
    I've been having nothing but problems since I got the phones and cable and program (downloaded it form the Nokia website) on Friday and I think that a big part of the problem is that I am not properly starting/ending things as far as the physical connection  and THAT is what is not explained anywhere.
    Please, please, please, someone, anyone, I really need step-by-step directions on the proper sequence for starting and ending sessions on a regular basis. I may want to connect my phone to PC several times a day but there are no directions on the Nokia/Ovi website for how to do anything past that first initial connection/ setup. 
    C

    Hey,
    These r just my observations only which may give u an idea
    Connectivity :- Since i dont hav Nokia 6350, i will try 2 give very generic answer
    Once u want to connect ur device with Nokia Ovi Suite using USB, u may get few options(It may differs from one model to other)
    PC Suite or Nokia mode
    Mass storage or data transfer
    Image transfer
    Media transfer etc.,
    If u r using PC Suite mode which is very common to use for connecting ur device with Nokia Ovi Suite, no need to worry about disconnecting ur session by removing ur usb using Safely remove hardware option.  U can unplug once ur session is over with Nokia Ovi Suite
    But if u r trying to connect ur device using Mass storage or data transfer mode, ur device will be recongnised by ur pc as a memory stick or pen drive.  People wll select this mode if they want 2 transfer huge files to/from PC and phone.  Once ur operations are over(copying files, transferring files etc), to end this Mass storage or data transfer session, u hav 2 make sure that ur device will be removed using Safely remove your hardware method, this is because if u r using in Mass storage/data transfer mode, w/o using safely remove hardware method if u remove ur device from pc, chances are high some of ur data may lost or it may be corrupted etc., so its mandotary to use safely remove your hardware, if u r conencting ur device with pc using Data transfer or mass storage option.
    It is advisable once ur session is done with Nokia Ovi Suite and ur pc, u close ur nokia ovi suite exit it from task bar.  u can unplug ur device from Nokia Ovi Suite(PC) once ur session is over.
    Hope its hlps
    If my post helped you, click on Kudos button and if my solution provided is opt 2 u, accpt my solution

  • Some basic information about EBP/SRM

    Hi All,
    I am new to SDN as well as to EBP/SRM.
    While going through the forum, I got to know that there are terms like classic scenario, extended classic etc.
    Can anyone pls tell me what do you mena by this? How do you determine what is your scenario?
    Can someone share some impotant basic things about EBP/SRM that one needs to know before starting any work on the same.
    Will reward full points if I get a good material.
    Thanks in advance & expecting replies form your end.
    Regards,
    Sanaa

    Hi Sanaa,
    Please, follow this thread: Need to know basic things about EBP/SRM
    Regards,
    Marcin Gajewski

  • Considering the switch to AIR Dev. Need some basic info please.

    Hi, I've been developing applications for stand alone, offline touch screen kiosks using Flash and Multidiminsional Media's "Zinc". For various reasons, I'd like to move away from Zinc and go "All Adobe".
    Here's mainly what I was using Zinc for.
    Reading and writing to a local, MDB (MS Access) database file
    launching local MPG2 and WMV video files
    scheduling automatic system shutdowns/restarts
    Printing to a local printer without a Windows diolog popping up
    Based on what I've learned so far, here on the quesitons I have based on the numbered list above:
    AIR can read/write to mySQL Lite. However, what about these senerios:
    The "Wilderness and Game Commission" from some state has an enormus database of all their state's flora an fauna. I ask them to export it in "mySQL Lite" format. Will I be able to use AIR to read this database? Are there other requirements for AIR's implementation of mySQL Lite?
    Suppose we have a "Registration" app on a kiosk that collects addresses and emails from users. Now we have this address/email database file written by my AIR app inside of the storage directory. What can I do with this file? With Zinc+MDB file, I needed only to hand this file over to someone with MS Acces skills to do whatever needs to be done with the data. MS Access won't open the file made by the AIR app. What are my options?
    AIR works great with MP4 (H.264) files. However, I could use very old/inexpensive hardware to run MPG2 files in Zinc (which uses directx to open an instance of Windows Media Player, sans WMP interface.) Per my testing, these same machines will not run a similar quality MP4 video. Am I overlooking another AIR option?
    Can AIR do this? Maybe with launching a BAT file?
    We often have a thermal printer in our kiosks. Zinc provided a way to print something without the pesky Windows print dialog. Does AIR provide a similar solution?
    Thanks for any information addressing any of these requirements.

    AIR can read/write to mySQL Lite. However, what about these senerios: The "Wilderness and Game Commission" from some state has an enormus database of all their state's flora an fauna. I ask them to export it in "mySQL Lite" format. Will I be able to use AIR to read this database? Are there other requirements for AIR's implementation of mySQL Lite?
    The database engine that's built into AIR is actually "SQLite" (http://sqlite.org/) not "mySQL Lite". It has nothing to do with MySQL, and I haven't found an easy way to export data in SQL between different databases.
    The best way I've found for batch exporting/importing data using AIR is to export the data in some text format such as CSV, tab-delimited, or XML, then writing code to import that data into the AIR app.
    Suppose we have a "Registration" app on a kiosk that collects addresses and emails from users. Now we have this address/email database file written by my AIR app inside of the storage directory. What can I do with this file? With Zinc+MDB file, I needed only to hand this file over to someone with MS Acces skills to do whatever needs to be done with the data. MS Access won't open the file made by the AIR app. What are my options?
    SQLite is a fairly popular database library/engine but in the majority of cases it is used as an embedded database -- in other words, it's used internally by an application rather than as a file that's shared among users. For instance, Firefox uses SQLite behind the scenes for bookmarks, history, etc.; Adobe Lightroom uses SQLite behind the scenes for it's image catalogs; and so forth. Not that you can't use a SQLite database as the "file format" for your application, and share those db files between users of your application. That's one of the intended use cases of the database for AIR, although in fact I don't know of any case where someone's actually done that.
    Some developers have written tools for administering SQLite databases and for viewing/editing data in them. For instance, my personal preferred tool for creating/managing AIR SQLite databases is "Lita":
    http://www.dehats.com/drupal/?q=node/58
    However, Lita is not nearly the same as Access, in that Access provides not only the database engine but also a scaled down app development platform, including forms, reports, VB code, etc. As far as I know nobody's created anything that complex for SQLite databases (AIR-specific or otherwise).
    So I guess it depends a lot on what "do whatever needs to be done with the data" means. If you want a tool that people can use to open a SQLite database file created in AIR, that has some sort of report-builder functionality ... as far as I know that doesn't exist. The exception would be if the person creating the reports knows SQL, in which case they could use Lita or another tool such as my own "Run!" AIR SQLite query runner tool:
    http://probertson.com/projects/run-air-sqlite-query-testing-tool/
    But of course there could be a SQLite-based Access-like application out there that I don't know about.
    AIR works great with MP4 (H.264) files. However, I could use very old/inexpensive hardware to run MPG2 files in Zinc (which uses directx to open an instance of Windows Media Player, sans WMP interface.) Per my testing, these same machines will not run a similar quality MP4 video. Am I overlooking another AIR option?
    AIR can use any of the video formats supported in Flash Player. In addition to H.264, it also supports FLV video, including On2 VP6 and Sorenson Spark encoded video.
    Can AIR do this? Maybe with launching a BAT file?
    It sounds like part of this question got cut off. However, I can say that an AIR app can't launch a BAT file (or any other executable), if that answers your question.
    We often have a thermal printer in our kiosks. Zinc provided a way to print something without the pesky Windows print dialog. Does AIR provide a similar solution?
    No.

  • Complete Novice Needs Some Basic Help

    Hi!
    I'm sorry to clutter up the discussion with such basic questions, but what I want to do is get something from a cassette tape to my iPod. I'm told I can do this through GarageBand, and I have an audio cable that the guy in the Apple store said I would need. I'm not even sure where to plug this cable in. So any help in where I plug this in, or what I do next would be tremendously appreciated. If someone could even tell me where to look for help that would be great (when I look in GarageBand help its saying something about MIDIs and I don't even know what that is). Eternal gratitude for any help....

    Oh man, this is frustrating and I might give up soon!
    So in System Preferences, Sound I have 2 things,
    Internal Microphone (port is Built-in) and Line In
    (port is Audio line-in port). I can't seem to
    select one or the other, they're just there.
    Yeah, there is no "apply" or "OK" or anything like that. Just click on the Line-In so that it is highlighted and close the system preferences. That takes care of that. My PB G4 automatically detects when I plug in my line-in now that it is set up.
    Then in GB preferences, I only have the option of
    Built-in Audio, there is no other option.
    Built-In audio is correct in GB prefs.
    I also couldn't find where you were saying to
    double-click...what's the track header? I've clicked
    everything and can't find a monitor drop down menu
    option.
    The track header is the left-hand side of the track where there is a small speaker or instrument. For what you are doing, you need to create a new basic track. (Under "Track" in the menu bar, click "New Basic Track") You should have a new blue track that is labeled "No Effects." Double click on the speaker image and a dialog box will appear. Right in the middle of this box there are options for Input, Volume, and Monitor. You can turn on and off monitor abilities here.
    On the plus side, the connector I have seems to
    work...its male/male 1/8".
    Perfect.
    Thanks again and if you want to bail out, I
    completely understand!
    Hang in there. We were once all newbies to this digital recording stuff too.

  • Screen failure, need some technical information

    I have the lenovo y510p sli version. Last night while browsing the internet, the screen suddenly went black (the pc did not shut down, just the screen), and I got a burnt metallic smell. I turned off the laptop and removed the battery. I went to test it after the fact, the pc boots, however the led screen seems to not be backlit now. I can see the lenovo logo slightly if I angle it right, but it as if there is no "backlighting" on the screen. I know for a fact it is not a software issue. I ordered a replacement led screen. My question is whether the entire led controller board is built into the led assembly, or if there is a separate control for the screen that is built into the motherboard that may have caused the failure. 

    user11932045 wrote:
    hi,
    I am developing a aplication in C#.Net 2005,
    that will allows export and import some information in PMDB.
    I am trying to connect to primavera database using de
    PMSDK, but i just can't.
    This is the error.
    VDB.Connect;Exception=TPrmRegistryAliasSettings: invalid value in SetAlias
    and this is how i try to get connected
    PMSDK.VDBClass vcls = new PMSDK.VDBClass();
    vcls.Connect("PMDB", "pubuser", "pubuser", "PMSDK");
    i already check the permissions with the mentioned user before.
    Some one can help me, please
    Thanks in advance.....Hmmm, this is an Oracle forum specifically relating to SQL and PL/SQL.
    Your question relates to C#.Net and a Primavera database.
    I fail to see the connection.

  • Started with a networks project,needed some basic help.. (Newbie)

    Hi all,
    Im planning on writing an app that will communicate with my server and a telecom gateway... Which will send and recieve data...
    Im a beginner to java itself and have taken this up as a project.
    I would like to know what needs to be learnt(Im familiar with OO concept and have done a bit on java for now, but not this extent.)
    Primarily I will be dealing with mulit-threading and so on.
    Could you please point me out to some details...
    If this info is not sufficient ,I'll provide more.
    Regards

    You will find that google is very useful if you are getting started.
    [http://www.google.co.uk/search?q=java+tutorial+networking]
    [http://www.google.co.uk/search?q=java+examples+networking]
    [http://www.google.co.uk/search?q=java+tutorial+threading]
    [http://www.google.co.uk/search?q=java+examples+threading]
    If you have question, try searching for it as the question will have been asked before.

  • Need some basic help with applets

    Hey all, I've never made an applet before and I'm having a small problem. Basically, when I load my applet, the GUI comes up on a separate window (doesn't load within the applet window). Here's my code:
    Here's the GUI class.
    import java.awt.BorderLayout;
    import java.io.File;
    import java.util.Vector;
    import javax.swing.DefaultComboBoxModel;
    import javax.swing.DefaultListModel;
    import javax.swing.JButton;
    import javax.swing.JFileChooser;
    import javax.swing.JList;
    import javax.swing.JScrollPane;
    import javax.swing.JTextField;
    import javax.swing.JTextPane;
    import javax.swing.ListModel;
    import javax.swing.WindowConstants;
    import javax.swing.SwingUtilities;
    * This code was edited or generated using CloudGarden's Jigloo
    * SWT/Swing GUI Builder, which is free for non-commercial
    * use. If Jigloo is being used commercially (ie, by a corporation,
    * company or business for any purpose whatever) then you
    * should purchase a license for each developer using Jigloo.
    * Please visit www.cloudgarden.com for details.
    * Use of Jigloo implies acceptance of these licensing terms.
    * A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
    * THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
    * LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
    public class GUI extends javax.swing.JFrame {
              //Set Look & Feel
              try {
                   javax.swing.UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
              } catch(Exception e) {
                   e.printStackTrace();
         private JButton openB;
         private JButton oddsB;
         private JScrollPane jScrollPane1;
         private JList jList1;
         private JTextField fileText;
         private Vector<String> jList1Objects;
         * Auto-generated main method to display this JFrame
         /*public static void main(String[] args) {
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        GUI inst = new GUI();
                        inst.setLocationRelativeTo(null);
                        inst.setVisible(true);
         public GUI() {
              super();
              initGUI();
         private void initGUI() {
              try {
                   setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
                   getContentPane().setLayout(null);
                        //Text field for file entry
                        fileText = new JTextField();
                        getContentPane().add(fileText);
                        fileText.setBounds(0, 0, 279, 25);
                        //Scroll Pane and jList1
                        jScrollPane1 = new JScrollPane();
                        getContentPane().add(jScrollPane1);
                        jScrollPane1.setBounds(0, 25, 150, 328);
                             jList1Objects = new Vector<String>();
                             jList1 = new JList(jList1Objects);
                             jScrollPane1.setViewportView(jList1);
                        //Open button and Odds button
                        openB = new JButton();
                        oddsB = new JButton();
                        getContentPane().add(oddsB);
                        getContentPane().add(openB);
                        oddsB.setText("Calculate Odds");
                        oddsB.setBounds(679, 109, 105, 353);
                        openB.setText("Open File");
                        openB.setBounds(279, 0, 99, 25);
                        //Open Button action
                        openB.addActionListener(new java.awt.event.ActionListener() {
                             public void actionPerformed(java.awt.event.ActionEvent evt) {
                                  //Opens up hand history file to be read in
                                  JFileChooser fc = new JFileChooser();
                                  fc.setCurrentDirectory(new File("C:\\Program Files\\Full Tilt Poker\\HandHistory"));
                                  int returnVal = fc.showOpenDialog(getContentPane());     
                                  if(returnVal == JFileChooser.APPROVE_OPTION) {
                                       //Display file in text box
                                       fileText.setText(fc.getSelectedFile().toString());
                                       //TODO: Write function to read in file and add all Hands to jList1
                                       //Recompile jList1
                                       jList1Objects = new Vector<String>();
                                       jList1Objects.add(fc.getSelectedFile().toString());
                                       jList1 = new JList(jList1Objects);
                                       jScrollPane1.setViewportView(jList1);
                   pack();
                   setSize(800, 800);
              } catch (Exception e) {
                   e.printStackTrace();
    }Here's the class my HTML file calls:
    import java.applet.Applet;
    import javax.swing.JFrame;
    public class Main extends Applet{
         //Mainframe
         //JFrame f = new JFrame();
         public void init() {
              GUI inst = new GUI();
              inst.setLocationRelativeTo(null);
              inst.setVisible(true);
              //f.setContentPane(inst.getContentPane());
         public void start() {
            System.out.println("Starting...");
      public void stop() {
            System.out.println("Stopping...");
    }

    // <applet code='Main' width='400' height='200' ></applet>
    import javax.swing.*;
    public class Main extends JApplet{
        public void init() {
            GUI inst = new GUI();
            getContentPane().add(inst.getContentPane());
            validate();
        public void start() {
            System.out.println("Starting...");
        public void stop() {
            System.out.println("Stopping...");
    }Other notes:
    - You try to set the PLAF to Windows. which will not work on Linux and Mac (and if it did, the users would be screaming at you).
    - setLayout(null)/setBounds(int,int,int,int) is rubbish GUI development, it is fragile and will cause problems (especially if changing PLAFs)
    - Why did you not code this as a hybrid application/app?
    - The call to the JFileChooser will require a trusted applet, and it is pointing to the wrong place in seeking out the 'Program Files' directory, better to put configuration data/history data in a sub-dir or user.home.
    - This app. is much better suited to being deployed using Java Web Start. Forget the applet and use the frame, persistence can be obtained through the PersistenceService and that will side step both the application needing 'trust' and trying to find a suitable path for storing results of past games. JWS can launch the app. directly off the net, and provides auto-update and many other slick features.

  • Need Some Basics to go with IPC

    Hi,
    I am truing to get some knowledge on IPC, and I am not at all familiar with User Exits. I am going through this document. PricingUserexitManualV104.pdf, and it is really confusing, for a person who is not aware of user exits.
    Also lack of CRM knowledge is causing me trouble...
    So I am here for help...
    Can some one explain me these things...
    1. step/counter level
    2. condition access step level
    3. base value of a condition
    4. scale base value
    5. condition value
    6. pricing condition that can be fixed
    7. document copy
    And while going through types of user exits, I have the following doubts...
    What is the difference between Type A and Type C user exits? From the document, both are multiple active implementations, but Type A requires formula numbers for execution of userexit, and type B, we assign a dummy formula number....
    The doubt is what is the difference if both requires formula numbers, and if each userexit is considered as one formula, how do we assign formula number to userexit?
    It will be really helpful for me to go ahead with IPC... some one please help me with these doubts...
    Thanks and Regards,
    Chinnu

    Chinnu,
    pricing in CRM/IPC is very similar to pricing in ERP SD. You need to know the underlying concepts to be able to properly set up (or transfer) user exits.
    I suggesting starting with
    http://help.sap.com/saphelp_erp60/helpdata/en/dd/56168b545a11d1a7020000e829fd11/frameset.htm
    The IMG documentation might also be helpful.
    The number of user exits of scope A is not arbitrary, but relates to e.g. (type VAL) a formula number for a condition value in the pricing procedure. So the number is like an ID. For scope C, the numbers only define a sequence.
    Michael

  • Need some basic help with Acrobat and LiveCycle

    This is my first time using Acrobat and LiveCycle to design a form. Basically all I need is a title that is uneditable and underneath that I want to insert a text box so people can type in the box then print off the whole page with their comments. I can do all of that except the problem is when I insert the text box, the cursor is left justified but appears in the middle of the textbox. So when people start typing, there is a huge gap between the title and what they've typed. I want their typing to appear directly under the title. What am I doing wrong? See attached for a visual explanation. Thanks.

    You can have the text in the field top jusitied. This is controlled on the Font palette. Turn on the Font palette under the window menu. It usually will appear in the bottom right corner of the screen. Now highlight the field you want to adjust. Make usre the paragraph tab is slected. Click on the small dropdown arrow indictaed in yellow in the screen shot and select "Edit Value". Now click the top justification as indicated by the arroe in the csreen shot.
    Paul

  • Need some basic Thread Help

    Hello everyone,
    I've recently been working on a game project with network capabilities.
    I need to be able to send data to a client and vice-versa for both a client and a host.
    Say whenever a player moves a character it should send the new coords, etc to the other person
    I have all the networking through a Host and Client class done already, with methods like sendData(String[] data) and getData(). What I need is some sort of update thread in the main program to send this data without stopping the flow of the program.
    I was thinking maybe a inner class inside the main program which extends a thread but I'm not sure how to implement that.
    Please help if you can. Thanks.
    P.S - Would maybe making the Host and Client classes extend Thread work too?
    (Then I can do all the threading inside there instead)

    dekenx wrote:
    Hello everyone,
    I've recently been working on a game project with network capabilities.
    I need to be able to send data to a client and vice-versa for both a client and a host.
    Say whenever a player moves a character it should send the new coords, etc to the other person
    I have all the networking through a Host and Client class done already, with methods like sendData(String[] data) and getData(). What I need is some sort of update thread in the main program to send this data without stopping the flow of the program.Sounds like a producer/consumer pattern. You produce move data, put it on a queue, and go on with the game. Meanwhile, a consumer thread reads from the queue of move data and pushes it over the network to the other side.
    I was thinking maybe a inner class inside the main program which extends a thread but I'm not sure how to implement that.
    Please help if you can. Thanks.
    P.S - Would maybe making the Host and Client classes extend Thread work too?
    (Then I can do all the threading inside there instead)The inner class or deciding which class to have extend Thread are implementation details you shouldn't be thinking about until you have a good understanding of the overall approach.
    Having said that, you should almost never extend Thread, since you're not creating a specialized kind of Thread class. You're just creating a task to be run in a separate thread, so implement Runnable. Or use an Executor from the java.util.concurrent package.
    I would also probably not use an inner class for this.

  • Need some basic help -- my iTunes no longer plays all songs in my playlist

    I've created a holiday playlist, and for some reason iTunes will only play one song and then the music stops. I must manually press play to get the next song to play. The music also stops when I try to fast forward to the next song or back up and play the previous song. In either case, I can get the music going again by pressing play, but again iTunes will only play that one song.
    I've got checks next to every song in the list. I've been toggling repeat and shuffle on and off with no luck.
    FYI...I'm having no trouble with my other playlists. This is especially frustrating since my parents aren't interested in listening to my other music -- only the holiday tunes.
    Would appreciate anyone's suggestions for how to resolve.

    Solved it. Hold down option (alt) while launching iTunes, and it asks to locate the iTunes library. Point it at the file called "iTunes library". All is back where it belongs. Apparently pointing to it in the Advanced tab wasn't enough.

Maybe you are looking for

  • How can I make a top layer "transparent" to the end-user?

    Hi guys, Got a quick question. I'm working on a custom card builder and was wondering if there was any way I could keep an uploaded image editable to the end user. The end-user will be able to choose what template they'd like to frame the image with.

  • Problems with java.lang.Class in JDK1.3

    Hi, I have 3 problems with the reflection in java.lang.Class: 1) In the specification of method java.lang.Class.getDeclaredFields() is wrote: "Returns .... This includes public, protected, default (package) access, and private fields ..." This means,

  • Multiple colours for tracks

    Hi Guys, Not an absolutely crucial feature, but is there any way to make each new audio track in Logic a slightly different colour (and the objects on the track, too?)? Cubase allows you to do this automatically. It's a bit hard to tell which track i

  • If I buy osx lion will I have my itunes libary

    if I buy osx lion will I have my itunes libary

  • Configure Keyboard Layout - why is this screen being displayed?

    Hello, I have a problem. I want the Solaris 10 installation to be hands-off. I modified the sysidcfg file, everything wors fine, but unfortunately after the execution of the finish script (at the end of the installation) this screen is being displaye