jPOS 1.6.1 API Documentation

org.jpos.iso
Interface Channel

All Known Implementing Classes:
ChannelAdaptor, OneShotChannelAdaptor, SpaceChannel

public interface Channel

Channel interface

Since:
2.0
Version:
$Revision: 2594 $ $Date: 2008-01-22 08:41:31 -0800 (Tue, 22 Jan 2008) $
Author:
Alejandro Revilla

Method Summary
 ISOMsg receive()
           
 ISOMsg receive(long timeout)
           
 void send(ISOMsg m)
           
 

Method Detail

send

void send(ISOMsg m)
Parameters:
m - message to send

receive

ISOMsg receive()
Returns:
received message

receive

ISOMsg receive(long timeout)
Parameters:
timeout - time to wait for a message
Returns:
received message or null

jPOS.org