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$ $Date$
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(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(ServerSocket s)
            throws IOException
Accepts connection

Throws:
IOException


Copyright © 1998-2012 jPOS.org. All Rights Reserved.