au.edu.swin.synergy.plugin.server
Class BSocketObjectPipe
java.lang.Object
|
+--au.edu.swin.synergy.plugin.server.BSocketObjectPipe
- public class BSocketObjectPipe
- extends Object
A pipe which uses a socket to pass BCommandEvents over the network
- Requirement/analysis/design Reference:
- Tristans Book
- See Also:
BServer
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
BSocketObjectPipe
public BSocketObjectPipe(Socket fSocket,
boolean isServer,
Vector filters)
- Please complete the missing tags for BSocketObjectPipe
- Parameters:
- - Throws:
- -
doNetDataSend
public void doNetDataSend(BCommandEvent data)
throws IOException
- Sends the given BNetData object to the connected
host.
- Parameters:
data
- The data to send
doPortClose
public void doPortClose()
- Closes this port so that anyone waiting on a read
will be notified that it is no longer in use.
doNetDataRead
public BCommandEvent doNetDataRead()
throws IOException
- Reads the next object from the input stream. If the object
sent is not a BNetData object, this method will return null
- Returns:
- The BNetData object sent from the host