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

    Fields
    Modifier and Type
    Field
    Description
     

    Fields 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    tigase.net.IOService<?>
     
    tigase.xmpp.jid.BareJID
     
    Queue<com.unboundid.ldap.protocol.LDAPMessage>
     
    protected void
     
    void
     
    protected int
     
    void
    sendResponse(com.unboundid.ldap.protocol.LDAPMessage response)
     
    void
    setAuthorizedJID(tigase.xmpp.jid.BareJID jid)
     
    void
     

    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

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • getAuthorizedJID

      public tigase.xmpp.jid.BareJID getAuthorizedJID()
      Specified by:
      getAuthorizedJID in interface LDAPSession
    • setAuthorizedJID

      public void setAuthorizedJID(tigase.xmpp.jid.BareJID jid)
      Specified by:
      setAuthorizedJID in interface LDAPSession
    • setConnectionManager

      public void setConnectionManager(LdapConnectionManager connectionManager)
    • getReceivedRequests

      public Queue<com.unboundid.ldap.protocol.LDAPMessage> getReceivedRequests()
    • call

      public tigase.net.IOService<?> call() throws IOException
      Specified by:
      call in interface Callable<RefObject>
      Overrides:
      call in class tigase.net.IOService<RefObject>
      Throws:
      IOException
    • processWaitingPackets

      public void processWaitingPackets() throws IOException
      Specified by:
      processWaitingPackets in class tigase.net.IOService<RefObject>
      Throws:
      IOException
    • sendResponse

      public void sendResponse(com.unboundid.ldap.protocol.LDAPMessage response)
    • processSocketData

      protected void processSocketData() throws IOException
      Specified by:
      processSocketData in class tigase.net.IOService<RefObject>
      Throws:
      IOException
    • receivedPackets

      protected int receivedPackets()
      Specified by:
      receivedPackets in class tigase.net.IOService<RefObject>