org.prevayler.foundation.network
Class ObjectSocketImpl
java.lang.Object
org.prevayler.foundation.network.ObjectSocketImpl
- All Implemented Interfaces:
- ObjectSocket
public class ObjectSocketImpl
- extends Object
- implements ObjectSocket
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectSocketImpl
public ObjectSocketImpl(String serverIpAddress,
int serverPort)
throws IOException
- Throws:
IOException
ObjectSocketImpl
public ObjectSocketImpl(Socket socket)
throws IOException
- Throws:
IOException
writeObject
public void writeObject(Object object)
throws IOException
- Specified by:
writeObject
in interface ObjectSocket
- Throws:
IOException
readObject
public Object readObject()
throws IOException,
ClassNotFoundException
- Specified by:
readObject
in interface ObjectSocket
- Throws:
IOException
ClassNotFoundException
close
public void close()
throws IOException
- Specified by:
close
in interface ObjectSocket
- Throws:
IOException
Copyright © 2001-2013. All Rights Reserved.