Class LdapIOService<RefObject>
java.lang.Object
tigase.net.IOService<RefObject>
tigase.ldap.LdapIOService<RefObject>
- All Implemented Interfaces:
Callable<tigase.net.IOService<?>>, tigase.io.TLSEventHandler, LDAPSession, tigase.util.IOListener
public class LdapIOService<RefObject>
extends tigase.net.IOService<RefObject>
implements LDAPSession
-
Field Summary
FieldsFields inherited from class tigase.net.IOService
cb, CERT_CHECK_RESULT, CERT_REQUIRED_DOMAIN, decoder, encoder, HOSTNAME_KEY, LOCAL_CERT_CHECK_RESULT, partialCharacterBytes, PORT_TYPE_PROP_KEY, SESSION_ID_KEY, SSL_PROTOCOLS_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontigase.net.IOService<?> call()tigase.xmpp.jid.BareJIDQueue<com.unboundid.ldap.protocol.LDAPMessage> protected voidvoidprotected intvoidsendResponse(com.unboundid.ldap.protocol.LDAPMessage response) voidsetAuthorizedJID(tigase.xmpp.jid.BareJID jid) voidsetConnectionManager(LdapConnectionManager connectionManager) Methods inherited from class tigase.net.IOService
accept, accept, byteOrder, checkBufferLimit, connectionType, debug, debug, forceStop, getBuffOverflow, getBytesReceived, getBytesSent, getCertificateContainer, getConnectionId, getDataReceiver, getIO, getLastTransferTime, getLocalAddress, getLocalCertificate, getLocalPort, getPeerCertificate, getReadCounters, getRefObject, getRemoteAddress, getSessionData, getSocketChannel, getSocketInputSize, getStatistics, getTlsExporter, getTlsUniqueId, getTotalBuffOverflow, getTotalBytesReceived, getTotalBytesSent, getUniqueId, getWriteCounters, handleMalformedInput, handshakeCompleted, isConnected, isInputBufferEmpty, isSocketServiceReady, readBytes, readCompleted, readData, setBufferLimit, setCertificateContainer, setConnectionId, setDataReceiver, setIOServiceListener, setRefObject, setSessionData, setSocketServiceReady, setSslContextContainer, setX509TrustManagers, startSSL, startTLS, startZLib, stop, toString, waitingToRead, waitingToSend, waitingToSendSize, writeBytes, writeData
-
Field Details
-
writeInProgress
-
-
Constructor Details
-
LdapIOService
- Throws:
IOException
-
-
Method Details
-
getAuthorizedJID
public tigase.xmpp.jid.BareJID getAuthorizedJID()- Specified by:
getAuthorizedJIDin interfaceLDAPSession
-
setAuthorizedJID
public void setAuthorizedJID(tigase.xmpp.jid.BareJID jid) - Specified by:
setAuthorizedJIDin interfaceLDAPSession
-
setConnectionManager
-
getReceivedRequests
-
call
- Specified by:
callin interfaceCallable<RefObject>- Overrides:
callin classtigase.net.IOService<RefObject>- Throws:
IOException
-
processWaitingPackets
- Specified by:
processWaitingPacketsin classtigase.net.IOService<RefObject>- Throws:
IOException
-
sendResponse
public void sendResponse(com.unboundid.ldap.protocol.LDAPMessage response) -
processSocketData
- Specified by:
processSocketDatain classtigase.net.IOService<RefObject>- Throws:
IOException
-
receivedPackets
protected int receivedPackets()- Specified by:
receivedPacketsin classtigase.net.IOService<RefObject>
-