org.jpos.iso
Interface ClientChannel
- 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 ClientChannel
- extends ISOChannel
Tag this channel as a client 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,
ServerChannel
| Methods inherited from interface org.jpos.iso.ISOChannel |
clone, connect, disconnect, getName, getPackager, isConnected, receive, reconnect, send, send, setName, setPackager, setUsable |
setHost
void setHost(String host,
int port)
- initialize an ISOChannel
- Parameters:
host - server TCP Addressport - server port number
getHost
String getHost()
- Returns:
- hostname (may be null)
getPort
int getPort()
- Returns:
- port number (may be 0)
Copyright © 1998-2012 jPOS.org. All Rights Reserved.