public interface ISOChannel extends ISOSource
| Modifier and Type | Field and Description |
|---|---|
static int |
CONNECT |
static int |
RX |
static int |
SIZEOF_CNT |
static int |
TX |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Expose channel clonning interface
|
void |
connect()
Connects ISOChannel
|
void |
disconnect()
disconnects ISOChannel
|
java.lang.String |
getName() |
ISOPackager |
getPackager() |
boolean |
isConnected() |
ISOMsg |
receive()
Receives an ISOMsg
|
void |
reconnect()
Reconnect channel
|
void |
send(byte[] b)
sends a byte[] over the TCP/IP session
|
void |
send(ISOMsg m)
sends an ISOMsg over the TCP/IP session
|
void |
setName(java.lang.String name)
associates this ISOChannel with a name on NameRegistrar
|
void |
setPackager(ISOPackager p)
Associate a packager with this channel
|
void |
setUsable(boolean b) |
static final int CONNECT
static final int TX
static final int RX
static final int SIZEOF_CNT
void setPackager(ISOPackager p)
p - an ISOPackagervoid connect()
throws java.io.IOException
java.io.IOExceptionvoid disconnect()
throws java.io.IOException
java.io.IOExceptionvoid reconnect()
throws java.io.IOException
java.io.IOExceptionboolean isConnected()
isConnected in interface ISOSourceISOMsg receive() throws java.io.IOException, ISOException
java.io.IOExceptionISOExceptionvoid send(ISOMsg m) throws java.io.IOException, ISOException
send in interface ISOSourcem - the Message to be sentjava.io.IOExceptionISOExceptionvoid send(byte[] b)
throws java.io.IOException,
ISOException
b - the byte array to be sentjava.io.IOExceptionISOExceptionvoid setUsable(boolean b)
b - - usable statevoid setName(java.lang.String name)
name - name to registerNameRegistrarjava.lang.String getName()
ISOPackager getPackager()
java.lang.Object clone()