Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 05-24-2006, 03:44 PM   #1 (permalink)
 
Newb Techie

Join Date: May 2006

Posts: 31

pjam76

Default java question

I'm stuck on where to go in my program.
Creating a sort of adapter to send/submit messages from and to legacy system. There are numerous classes but there are a few methods that pack data and unpack it. I'm a little confused on where to go from here.

Code snippets are as follows :

--------------
/**
*method will create a ABC FTPCommand message.
* The ABC message will have source and destination addresses filled out
* along with path to XYZ file in message payload.
* Method will also trigger generation of XYZ file on local file system
* so file can be sent to remote sites.
* @param aAddress
* @return
*/
public Message packFTPMessage(String aAddress)
{
Message aMessage = null;
XYZFileSender aXYZFileSenderFile = new XYZFileSender();
try
{


convertToAddress(aAddress);

this.theoldLegacy.getAddress();




}
catch(Exception e)
{
Logg.Data.ABC, "FileSender error " + e.getMessage());
}
return aMessage;
}


-----------


thanks for any help
pjam76 is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On