<commit_before>//
//  AFNetworkLayer.h
//  Bonjour
//
//  Created by <NAME> on 26/12/2008.
//  Copyright 2008. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "CoreNetworking/AFNetworkPacket.h"

/*
 *	Network Layers
 *	Transport + Internetwork
 */

@protocol AFNetworkTransportLayerControlDelegate;
@protocol AFNetworkTransportLayerDataDelegate;

#pragma mark -

/*!
	\brief
	An `AFNetworkTransportLayer` object should encapsulate data (as defined in
	IETF-RFC-1122 <http://tools.ietf.org/html/rfc1122>).
*/
@protocol AFNetworkTransportLayer <NSObject>

/*!
	\brief
	Currently the control and data delegates share the same property.
 */
@property (assign, nonatomic) id <AFNetworkTransportLayerControlDelegate, AFNetworkTransportLayerDataDelegate> delegate;

/*!
	\brief
	Designated Initialiser.
	
	\details
	For the moment this is designed to be used for an inbound network
	communication initialisation chain, outbound initialisers have a more
	specific signatures.
 */
- (id)initWithLowerLayer:(id <AFNetworkTransportLayer>)layer;

/*!
	\brief
	Retrieve the lower layer.
 */<commit_msg>Remove useless docs<commit_after>//
//  AFNetworkLayer.h
//  Bonjour
//
//  Created by <NAME> on 26/12/2008.
//  Copyright 2008. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "CoreNetworking/AFNetworkPacket.h"

/*
 *	Network Layers
 *	Transport + Internetwork
 */

@protocol AFNetworkTransportLayerControlDelegate;
@protocol AFNetworkTransportLayerDataDelegate;

#pragma mark -

/*!
	\brief
	The transport layer defines read and write queuing primitives, and transport
	layer security methods.
*/
@protocol AFNetworkTransportLayer <NSObject>

/*!
	\brief
	Currently the control and data delegates share the same property.
 */
@property (assign, nonatomic) id <AFNetworkTransportLayerControlDelegate, AFNetworkTransportLayerDataDelegate> delegate;

/*!
	\brief
	Designated Initialiser.
	
	\details
	For the moment this is designed to be used for an inbound network
	communication initialisation chain, outbound initialisers have a more
	specific signatures.
 */
- (id)initWithLowerLayer:(id <AFNetworkTransportLayer>)layer;

/*!
	\brief
	Retrieve the lower layer.
 */
{'fraction_non_alphanumeric': 0.0974055530268548, 'fraction_numerical': 0.01456531634046427, 'mean_word_length': 4.467661691542289, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2387208', 'n_tokens_mistral': 679, 'n_tokens_neox': 634, 'n_words': 193}