Untuk memudahkan pembelajaran silahkan diawali melalui link berikut ini terlebih dahulu Bab 1

Thursday, January 30, 2014

ISOChannel

Class ISOChannel atau Channel pada library jPOS ini digunakan untuk membungkus detail implementasi dari protokol-protokol yang digunakan oleh setiap vendor. Selain itu ISOChannel ini juga digunakan untuk mengirimkan dan menerima object ISOMsg. Beberapa Channel yang telah didukung oleh library jPOS ini antara lain :
Channel NameDescriptionURL
AmexChannelImplementasi ISOChannel untuk American Expressdetail
ASCIIChannelISOChannel yang menggunakan 4 ASCII karakter header sebagai penanda panjang messagedetail
Base24ChannelImplements an ISOChannel capable to exchange messages with ACI’s BASE24[tm] over an X.25 link.detail
BASE24TCPChannelImplements an ISOChannel able to exchange messages with ACI’s BASE24 over a TCP link.detail
BCDChannelTalks with TCP based NCCs Sends [LEN][TPDU][ISOMSG] (len=2 bytes HEX).detail
ChannelPool-detail
CSChannelISOChannel implementation – CS standard Channel.detail
FSDChannel-detail
GZIPChannelISOChannel implementation.detail
HEXChannelSends a four ASCII hex characters indicating message length (up to 0xffff).detail
LogChannelExtracts blocks from standard jPOS log.detail
LoopbackChannel-detail
NACChannelTalks with TCP based NACs Sends [LEN][TPDU][ISOMSG] (len=2 bytes network byte order).detail
NCCChannelTalks with TCP based NCCs Sends [LEN][TPDU][ISOMSG] (len=2 bytes BCD).detail
PADChannelImplements an ISOChannel suitable to be used to connect to an X.25 PAD.detail
PostChannelISOChannel implementation – Postilion Channel Send packet len (2 bytes network byte order MSB/LSB) followed by raw data.detail
RawChannelISOChannel implementation – RAW Channel Send packet len (4 bytes network byte order) followed by raw data.detail
RBPChannelImplements Record Boundary Preservation protocol.detail
TelnetXMLChannelImplements an ISOChannel able to exchange jPOS generated (or compliant) XML based ISO-8583 messages through a Telnet session the telnet commands are simply ignored.detail
VAPChannelISOChannel implementation – VISA’s VAP framing.detail
X25ChannelImplements an ISOChannel suitable to be used to connect to an X.25 PAD.detail
XMLChannelImplements an ISOChannel able to exchange jPOS generated (or compliant) XML based ISO-8583 messages.detail
Channel atau ISOChannel disini mempunyai peran yang sangat penting sekali dalam proses tersambung atau tidak-nya antara vendor yang satu dengan yang lain dan biasanya implementasi tiap vendor berbeda-beda :) Sedangkan pada library jPOS, penggunaan Channel ini sangat mudah seperti terlihat pada potongan kode dibawah ini :
  1. Contoh penggunaan ASCIIChannel
    64
    65
    66
    
    ...
    ASCIIChannel channel = new ASCIIChannel(hostname, portNumber, packager);
    ...

No comments:

Post a Comment