Interface ISOChannel
- All Superinterfaces:
ISOSource
- All Known Subinterfaces:
ClientChannel, FilteredChannel, ServerChannel
- All Known Implementing Classes:
AmexChannel, ASCIIChannel, BASE24Channel, BASE24TCPChannel, BaseChannel, BCDChannel, ChannelPool, CMFChannel, CSChannel, FilteredBase, FSDChannel, GICCChannel, GZIPChannel, HEXChannel, LogChannel, LoopbackChannel, NACChannel, NCCChannel, PADChannel, PostChannel, RawChannel, RBPChannel, TelnetXMLChannel, VAPChannel, X25Channel, XMLChannel
allows the transmision and reception of ISO 8583 Messages
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionclone()Expose channel clonning interfacevoidconnect()Connects ISOChannelvoiddisconnects ISOChannelgetName()booleanreceive()Receives an ISOMsgvoidReconnect channelvoidsend(byte[] b) sends a byte[] over the TCP/IP sessionvoidsends an ISOMsg over the TCP/IP sessionvoidassociates this ISOChannel with a name on NameRegistrarvoidAssociate a packager with this channelvoidsetUsable(boolean b)
-
Field Details
-
CONNECT
- See Also:
-
TX
- See Also:
-
RX
- See Also:
-
SIZEOF_CNT
- See Also:
-
-
Method Details
-
setPackager
Associate a packager with this channel- Parameters:
p- an ISOPackager
-
connect
-
disconnect
-
reconnect
-
isConnected
boolean isConnected()- Specified by:
isConnectedin interfaceISOSource- Returns:
- true if Channel is connected and usable
-
receive
Receives an ISOMsg- Returns:
- the Message received
- Throws:
IOExceptionISOException
-
send
sends an ISOMsg over the TCP/IP session- Specified by:
sendin interfaceISOSource- Parameters:
m- the Message to be sent- Throws:
IOExceptionISOException
-
send
sends a byte[] over the TCP/IP session- Parameters:
b- the byte array to be sent- Throws:
IOExceptionISOException
-
setUsable
- Parameters:
b- - usable state
-
setName
-
getName
-
getPackager
- Returns:
- current packager
-
clone
-