|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.net.Socket
mx.udlap.kjProtocol.kbinds.KSocket
Socket connected to a Kannel bearerbox (Typically)
| Constructor Summary | |
KSocket()
Wrapper constructor for the Socket super class |
|
KSocket(java.net.InetAddress address,
int port)
Wrapper constructor for the Socket super class |
|
KSocket(java.net.InetAddress address,
int port,
java.net.InetAddress localAddr,
int localPort)
Wrapper constructor for the Socket super class |
|
KSocket(java.net.InetAddress address,
int port,
java.net.InetAddress localAddr,
int localPort,
java.lang.String boxc_id)
Constructor for the KSocket object |
|
KSocket(java.net.InetAddress address,
int port,
java.lang.String boxc_id)
Constructor for the KSocket object |
|
KSocket(java.lang.String boxc_id)
Constructor for the KSocket object |
|
KSocket(java.lang.String host,
int port)
Wrapper constructor for the Socket super class |
|
KSocket(java.lang.String host,
int port,
java.net.InetAddress localAddr,
int localPort)
Wrapper constructor for the Socket super class |
|
KSocket(java.lang.String host,
int port,
java.net.InetAddress localAddr,
int localPort,
java.lang.String boxc_id)
Constructor for the KSocket object |
|
KSocket(java.lang.String host,
int port,
java.lang.String boxc_id)
Constructor for the KSocket object |
|
| Method Summary | |
java.lang.String |
getBoxc_id()
Gets the boxc_id attribute of the KSocket object |
void |
kconnect()
Initiates a session with a bearer box. |
void |
kconnect(java.lang.String boxc_id)
Initiates a session with a bearer box. |
static void |
main(java.lang.String[] args)
Testing class |
void |
setBoxc_id(java.lang.String boxc_id)
Sets the boxc_id attribute of the KSocket object |
| Methods inherited from class java.net.Socket |
bind, close, connect, connect, getChannel, getInetAddress, getInputStream, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getOutputStream, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, shutdownInput, shutdownOutput, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public KSocket()
public KSocket(java.net.InetAddress address,
int port)
throws java.io.IOException
address - Description of the Parameterport - Description of the Parameter
java.io.IOException - Exception thrown when
public KSocket(java.net.InetAddress address,
int port,
java.net.InetAddress localAddr,
int localPort)
throws java.io.IOException
address - Description of the Parameterport - Description of the ParameterlocalAddr - Description of the ParameterlocalPort - Description of the Parameter
java.io.IOException - Exception thrown when
public KSocket(java.lang.String host,
int port)
throws java.net.UnknownHostException,
java.io.IOException
host - Description of the Parameterport - Description of the Parameter
java.net.UnknownHostException - Exception thrown when
java.io.IOException - Exception thrown when
public KSocket(java.lang.String host,
int port,
java.net.InetAddress localAddr,
int localPort)
throws java.io.IOException
host - Description of the Parameterport - Description of the ParameterlocalAddr - Description of the ParameterlocalPort - Description of the Parameter
java.io.IOException - Exception thrown whenpublic KSocket(java.lang.String boxc_id)
This constructor sets the boxc_id attribute to be used by void kconnect()
boxc_id - Description of the Parameter
public KSocket(java.net.InetAddress address,
int port,
java.lang.String boxc_id)
throws java.io.IOException
This constructor sets the boxc_id attribute to be used by void kconnect() and sends AdminKMessage to Kannel box to initiate a session.
address - Description of the Parameterport - Description of the Parameterboxc_id - Description of the Parameter
java.io.IOException - Exception thrown when
public KSocket(java.net.InetAddress address,
int port,
java.net.InetAddress localAddr,
int localPort,
java.lang.String boxc_id)
throws java.io.IOException
This constructor sets the boxc_id attribute to be used by void kconnect() and sends AdminKMessage to Kannel box to initiate a session.
address - Description of the Parameterport - Description of the ParameterlocalAddr - Description of the ParameterlocalPort - Description of the Parameterboxc_id - Description of the Parameter
java.io.IOException - Exception thrown when
public KSocket(java.lang.String host,
int port,
java.lang.String boxc_id)
throws java.net.UnknownHostException,
java.io.IOException
This constructor sets the boxc_id attribute to be used by void kconnect() and sends AdminKMessage to Kannel box to initiate a session.
host - Description of the Parameterport - Description of the Parameterboxc_id - Description of the Parameter
java.net.UnknownHostException - Exception thrown when
java.io.IOException - Exception thrown when
public KSocket(java.lang.String host,
int port,
java.net.InetAddress localAddr,
int localPort,
java.lang.String boxc_id)
throws java.io.IOException
This constructor sets the boxc_id attribute to be used by void kconnect() and sends AdminKMessage to Kannel box to initiate a session.
host - Description of the Parameterport - Description of the ParameterlocalAddr - Description of the ParameterlocalPort - Description of the Parameterboxc_id - Description of the Parameter
java.io.IOException - Exception thrown when| Method Detail |
public void setBoxc_id(java.lang.String boxc_id)
boxc_id - The new boxc_id valuepublic java.lang.String getBoxc_id()
public void kconnect(java.lang.String boxc_id)
throws java.io.IOException
boxc_id - Description of the Parameter
java.io.IOException - Exception thrown when
public void kconnect()
throws java.io.IOException
java.io.IOException - Exception thrown when
public static void main(java.lang.String[] args)
throws java.lang.Exception
args - Description of the Parameter
java.lang.Exception - Exception thrown when
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||