Sha256: ca4447460a23975c7b3b78fc11a5540ebe5c0e7d02873cbd9201691fd288ad69

Contents?: true

Size: 478 Bytes

Versions: 2

Compression:

Stored size: 478 Bytes

Contents

$: << File.dirname(File.absolute_path(__FILE__))
require 'singleton'
require 'rubysasl.so'
require 'Client'
require 'Callback'

module RubyCyrusSASL
  class ClientFactory
    include Singleton
    
    def initialize
      sasl_client_init
    end
    
    def create service, serverFQDN, callback, iplocalport = nil, ipremoteport = nil
      sasl_client_new service, serverFQDN, callback, iplocalport, ipremoteport
    end

  end #class ClientFactory
end #module RubyCyrusSASL

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-cyrus-sasl-0.0.2 lib/ruby-cyrus-sasl/ClientFacroty.rb
ruby-cyrus-sasl-0.0.1 lib/ruby-cyrus-sasl/ClientFacroty.rb