fr.dyade.aaa.jndi2.haclient
Class HANamingConnection
java.lang.Object
fr.dyade.aaa.jndi2.haclient.HANamingConnection
- All Implemented Interfaces:
- NamingConnection
public class HANamingConnection
- extends java.lang.Object
- implements NamingConnection
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IDEMPOTENT
public static final int IDEMPOTENT
- See Also:
- Constant Field Values
NOT_IDEMPOTENT
public static final int NOT_IDEMPOTENT
- See Also:
- Constant Field Values
addresses
private java.util.Vector addresses
ioCtrl
private IOControl ioCtrl
id
private int id
HANamingConnection
public HANamingConnection()
isIdempotent
public static boolean isIdempotent(JndiRequest request)
addServerAddress
public void addServerAddress(java.lang.String host,
int port)
invoke
public JndiReply invoke(JndiRequest request)
throws javax.naming.NamingException
- An invoke opens a connection and closes it
when the result has been returned. The overhead
of the connection opening could be avoided
if the server could close connections. Such a
protocol would change the client as well.
- Specified by:
invoke
in interface NamingConnection
- Throws:
javax.naming.NamingException
open
private void open()
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
close
private void close()
cloneConnection
public NamingConnection cloneConnection()
- Specified by:
cloneConnection
in interface NamingConnection
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getEnvironment
public java.util.Hashtable getEnvironment()
- Specified by:
getEnvironment
in interface NamingConnection
Copyright © 2010 ScalAgent D.T.. All Rights Reserved.