//
//  Transport.swift
//  Transport
//
//  Created by Paul Young on 26/08/2014.
//  Copyright (c) 2014 CocoaFlow. All rights reserved.
//

import JSONLib

public protocol Transport {
    
    /**
        Send a message from the runtime.
        
        :param: channel
        :param: topic
        :param: payload
    */
    func send(channel: String, _ topic: String, _ payload: JSON) -> Void
}

//
//  Transport.swift
//  Transport
//
//  Created by Paul Young on 26/08/2014.
//  Copyright (c) 2014 CocoaFlow. All rights reserved.
//

import MessageTransfer

public protocol Transport: MessageSenderWorkaround {
    
    init(_ messageReceiver: MessageReceiverWorkaround)
}

Update transport to extend message transfer.
Update transport to extend message transfer.
