remove redundancies
This commit is contained in:
parent
fe02b8eff2
commit
ca67625ed3
@ -22,8 +22,6 @@
|
|||||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
// THE SOFTWARE.
|
// THE SOFTWARE.
|
||||||
|
|
||||||
import Foundation
|
|
||||||
|
|
||||||
protocol SocketClientSpec: class {
|
protocol SocketClientSpec: class {
|
||||||
var nsp: String { get set }
|
var nsp: String { get set }
|
||||||
var waitingData: [SocketPacket] { get set }
|
var waitingData: [SocketPacket] { get set }
|
||||||
|
|||||||
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
protocol SocketParsable: class, SocketClientSpec {
|
protocol SocketParsable: SocketClientSpec {
|
||||||
func parseBinaryData(data: NSData)
|
func parseBinaryData(data: NSData)
|
||||||
func parseSocketMessage(message: String)
|
func parseSocketMessage(message: String)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user