Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Get packager dynamically using the TPDU content
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
kelvin  
View profile  
 More options Nov 10, 12:13 am
From: kelvin <kelvinwork...@gmail.com>
Date: Mon, 9 Nov 2009 21:13:03 -0800 (PST)
Local: Tues, Nov 10 2009 12:13 am
Subject: Get packager dynamically using the TPDU content
Hi all,

Thanks for your opinion in my previous post!

Finally, our system would connect to a NAC vendor to receive the
iso8583 message. The protocol used would be: [2byte Message length]
+[5byte TPDU]+[iso 8583 message], so I think the NACChannel would be a
good starting point for my work.(Please comment if I am wrong).
However, I got another problem: How can I set the packager dynamically
according to the content of TPDU? Can you give me some hints?

Kelvin


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Salter  
View profile  
 More options Nov 10, 4:18 am
From: Mark Salter <marksal...@talktalk.net>
Date: Tue, 10 Nov 2009 09:18:09 +0000
Local: Tues, Nov 10 2009 4:18 am
Subject: Re: [jpos-users] Get packager dynamically using the TPDU content
kelvin wrote:

> Finally, our system would connect to a NAC vendor to receive the
> iso8583 message. The protocol used would be: [2byte Message length]
> +[5byte TPDU]+[iso 8583 message], so I think the NACChannel would be a
> good starting point for my work.(Please comment if I am wrong).

Can you give the format of the length (binary and endian, character etc)?

Your vendors way of indicating the message length might not match
NACChannels...

> However, I got another problem: How can I set the packager dynamically
> according to the content of TPDU? Can you give me some hints?

1. Look at the source.
2. Look at the source again 8).
3. extend NACChannel - if that matches your network protocol, the
override getDynamicPackager(header, b) to return the packager based upon
the header (5 byte TPDU) content and/or the binary message content.

--
Mark


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
kelvin  
View profile  
 More options Nov 10, 9:13 pm
From: kelvin <kelvinwork...@gmail.com>
Date: Tue, 10 Nov 2009 18:13:15 -0800 (PST)
Local: Tues, Nov 10 2009 9:13 pm
Subject: Re: Get packager dynamically using the TPDU content
Hi Mark,

Thanks~! I understand that I might need to extend the NACChannel to
fit the vendor's protocol. I am still waiting for my NAC vendor to
confirm the details. By the way, I know Alejandro Revilla has added
the patch r2791 for adding method getDynamicPackager(header, b)  to
BaseChannel but it seems receive() method still calling
getDynamicPackager(b). It seems there is another patch r2793 to fix
this right?

Kelvin

On Nov 10, 5:18 pm, Mark Salter <marksal...@talktalk.net> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Salter  
View profile  
 More options Nov 11, 3:08 am
From: Mark Salter <marksal...@talktalk.net>
Date: Wed, 11 Nov 2009 08:08:07 +0000
Local: Wed, Nov 11 2009 3:08 am
Subject: Re: [jpos-users] Re: Get packager dynamically using the TPDU content

kelvin wrote:
>  It seems there is another patch r2793 to fix
> this right?

The combination of the two should provide what is needed.  Patch r2793
is available in SVN, as discussed in thread :-

http://groups.google.com/group/jpos-users/browse_thread/thread/bd4daa...

--
Mark


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
kelvin  
View profile  
 More options Nov 11, 4:42 am
From: kelvin <kelvinwork...@gmail.com>
Date: Wed, 11 Nov 2009 01:42:00 -0800 (PST)
Subject: Re: Get packager dynamically using the TPDU content
I found it. Thanks Mark!

On Nov 11, 4:08 pm, Mark Salter <marksal...@talktalk.net> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google