':param credentials:
:param messages: list of (jid, message) tuples
:param encryptionEnabled:
:return:'

def __init__(self, credentials, messages, encryptionEnabled=True):

    stackBuilder = YowStackBuilder()
    self.stack = stackBuilder.pushDefaultLayers(encryptionEnabled).push(SendLayer).build()
    self.stack.setProp(SendLayer.PROP_MESSAGES, messages)
    self.stack.setProp(YowAuthenticationProtocolLayer.PROP_PASSIVE, True)
    self.stack.setCredentials(credentials)
