--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+unsubscribe@googlegroups.com.
To post to this group, send email to jpos-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/7313067b-5441-4b86-932e-b9a82f0f77ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
public class NOLengthChannel extends BaseChannel {
@Override
protected byte[] streamReceive() throws IOException {
byte[] bytes = IOUtils.toByteArray(serverIn);
return bytes;
}
}
Jpos provides multiple channels that have a length prepended ended to it. The format of the length varies. You will probably find one that supports what you need. You need to be more specific about how length is appended. You can look at AsciiChannel and NACChannel code in github and see what they do.-chhil.
On Jun 8, 2017 2:01 PM, "phamthai thinh" <phamth...@gmail.com> wrote:
Hi all,--I have a spec about channel without bytes indicate length of message. How i can configure or customise chaneel to make jPOS work with this server.Thanks
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/e5d55fc5-5059-479a-b578-4d7b443259f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+unsubscribe@googlegroups.com.
To post to this group, send email to jpos-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/d7b03066-180e-43b1-b9b1-aa745d18b32e%40googlegroups.com.