net.sf.asyncobjects.net.threading
Class TSocketFactory
java.lang.Object
net.sf.asyncobjects.AsyncUnicastServer<ASocketFactory>
net.sf.asyncobjects.net.threading.TSocketFactory
- All Implemented Interfaces:
- AsyncObject, ExplicitSharing, ASocketFactory
public class TSocketFactory
- extends AsyncUnicastServer<ASocketFactory>
- implements ASocketFactory
A socket factory that creates thread based sockets
- Author:
- const
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
makeServerSocket
public Promise<AServerSocket> makeServerSocket()
- Specified by:
makeServerSocket in interface ASocketFactory
- Returns:
- created server socket
- See Also:
ASocketFactory.makeServerSocket()
makeSocket
public Promise<ASocket> makeSocket()
- Specified by:
makeSocket in interface ASocketFactory
- Returns:
- created socket
- See Also:
ASocketFactory.makeSocket()
getInstance
public static ASocketFactory getInstance(VatRunner runner)
- This method created instance of
TSocketFactory that lives inside
specified vatGroup
- Parameters:
runner - a vat runner
- Returns:
- created instance
getInstance
public static ASocketFactory getInstance()
- This method created instance of
TSocketFactory that lives inside
daemon runner created with
ExecutorRunner.newCachedRunner(String, Boolean).
- Returns:
- created instance
Copyright © 2002-2007 Constantine Plotnikov. All Rights Reserved.