public class NetClientFactory
extends java.lang.Object
Constructor and Description |
---|
NetClientFactory() |
Modifier and Type | Method and Description |
---|---|
void |
activateObject(java.lang.Object client)
Activates the given client
|
void |
destroyObject(java.lang.Object client)
Destroys a client
|
java.lang.Object |
makeObject()
Makes a client
|
void |
passivateObject(java.lang.Object client)
Passivates a client, the implementation does nothing, handled through activate
|
boolean |
validateObject(java.lang.Object client)
Validates a client
|
public void activateObject(@Nonnull java.lang.Object client)
client
- the client to activatepublic void destroyObject(@Nonnull java.lang.Object client)
client
- the client to destroy@CheckReturnValue @Nonnull public java.lang.Object makeObject() throws java.lang.Exception
java.lang.Exception
- failure to make a client@CheckReturnValue public boolean validateObject(@Nonnull java.lang.Object client)
client
- the client to validatepublic void passivateObject(@Nonnull java.lang.Object client)
client
- the client to passivatestSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.