jPOS 1.6.7 API Documentation

org.jpos.iso
Interface ServerChannel

All Superinterfaces:
ISOChannel, ISOSource
All Known Implementing Classes:
AmexChannel, ASCIIChannel, BASE24Channel, BASE24TCPChannel, BaseChannel, BCDChannel, CSChannel, FSDChannel, GZIPChannel, HEXChannel, LogChannel, NACChannel, NCCChannel, PADChannel, PostChannel, RawChannel, RBPChannel, TelnetXMLChannel, VAPChannel, X25Channel, XMLChannel

public interface ServerChannel
extends ISOChannel

Tag this channel as a server one (from a Socket point of view) Please note that ISOChannel implementations may choose to implement ClientChannel as well as ServerChannel, being a client does not mean it can not be a server too.

Version:
$Revision: 2854 $ $Date: 2010-01-02 02:34:31 -0800 (Sat, 02 Jan 2010) $
Author:
Alejandro P. Revilla
See Also:
ISOChannel, ClientChannel

Field Summary
 
Fields inherited from interface org.jpos.iso.ISOChannel
CONNECT, RX, SIZEOF_CNT, TX
 
Method Summary
 void accept(java.net.ServerSocket s)
          Accepts connection
 
Methods inherited from interface org.jpos.iso.ISOChannel
clone, connect, disconnect, getName, getPackager, isConnected, receive, reconnect, send, send, setName, setPackager, setUsable
 

Method Detail

accept

void accept(java.net.ServerSocket s)
            throws java.io.IOException
Accepts connection

Throws:
java.io.IOException

jPOS.org