com.pdmfc.tea.modules.net
Class SSocketPlain
java.lang.Object
|
+--com.pdmfc.tea.modules.tos.STosObj
|
+--com.pdmfc.tea.modules.net.SSocketPlain
- All Implemented Interfaces:
- SObjFunction
- public class SSocketPlain
- extends STosObj
Represents the TOS object that embodies a socket.
|
Method Summary |
java.lang.Object |
close(SObjFunction obj,
SContext context,
java.lang.Object[] args)
|
java.lang.Object |
connect(SObjFunction obj,
SContext context,
java.lang.Object[] args)
Opens the connection to the remote host. |
void |
connect(java.net.Socket sock)
Uses the socket received as argument. |
java.lang.Object |
constructor(SObjFunction obj,
SContext context,
java.lang.Object[] args)
|
java.lang.Object |
getInput(SObjFunction obj,
SContext context,
java.lang.Object[] args)
|
java.lang.Object |
getOutput(SObjFunction obj,
SContext context,
java.lang.Object[] args)
|
static SSocketPlain |
newInstance(SContext context)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSocketPlain
public SSocketPlain(STosClass myClass)
throws STeaException
constructor
public java.lang.Object constructor(SObjFunction obj,
SContext context,
java.lang.Object[] args)
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.
connect
public void connect(java.net.Socket sock)
throws SIOException
- Uses the socket received as argument.
close
public java.lang.Object close(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws STeaException
getInput
public java.lang.Object getInput(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws STeaException
getOutput
public java.lang.Object getOutput(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws STeaException
newInstance
public static SSocketPlain newInstance(SContext context)
throws STeaException
© 2002 PDM&FC, All Rights Reserved.