com.pdmfc.tea.modules.net
Class SSocketBase
java.lang.Object
com.pdmfc.tea.modules.tos.STosObj
com.pdmfc.tea.modules.net.SSocketBase
- All Implemented Interfaces:
- SObjFunction
- Direct Known Subclasses:
- SPlainSocketBase, SSslSocketBase
public class SSocketBase
- extends STosObj
Represents the TOS object that embodies a socket.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSocketBase
public SSocketBase(STosClass myClass)
throws STeaException
- Throws:
STeaException
connect
public java.lang.Object connect(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws STeaException
- Opens the connection to the remote host.
- Throws:
STeaException
connect
public void connect(java.net.Socket sock)
throws SIOException
- Uses the socket received as argument.
- Throws:
SIOException
close
public java.lang.Object close(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws STeaException
- Throws:
STeaException
getInput
public java.lang.Object getInput(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws STeaException
- Throws:
STeaException
getOutput
public java.lang.Object getOutput(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws STeaException
- Throws:
STeaException
© 2009 PDM&FC, All Rights Reserved.