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.IOException
void disconnect() throws java.io.IOException
java.io.IOException
void reconnect() throws java.io.IOException
java.io.IOException
boolean isConnected()
isConnected
in interface ISOSource
ISOMsg receive() throws java.io.IOException, ISOException
java.io.IOException
ISOException
void send(ISOMsg m) throws java.io.IOException, ISOException
send
in interface ISOSource
m
- the Message to be sentjava.io.IOException
ISOException
void send(byte[] b) throws java.io.IOException, ISOException
b
- the byte array to be sentjava.io.IOException
ISOException
void setUsable(boolean b)
b
- - usable statevoid setName(java.lang.String name)
name
- name to registerNameRegistrar
java.lang.String getName()
ISOPackager getPackager()
java.lang.Object clone()