NGDatagramSocket
Inherits From: NGSocket
Declared In: NGDatagramSocket.h
Methods: + socketBoundToAddress: , + socketPair:inDomain: , - setMaxPacketSize: , - maxPacketSize , - setPacketFactory: , - packetFactory , - socketType , - wouldBlockInMode: , - sendPacket:timeout: , - sendPacket: , - receivePacketWithMaxSize:timeout: , - receivePacketWithTimeout: , - receivePacketWithMaxSize: , - receivePacket , - setBroadcast: , - doesBroadcast , - setDebug: , - doesDebug


Class Description
No class description.


Global Variables
Synopsis
NSString *NGSocketTimedOutNotificationName ;


Instance Variables
id<NGDatagramPacketFactory> packetFactory;
int maxPacketSize;
struct {    
    BOOL isConnected:1;
} udpFlags;

packetFactoryNo description.
maxPacketSizeNo description.
udpFlags.isConnectedNo description.



Method Types
+ socketBoundToAddress:
+ socketPair:inDomain:
- setMaxPacketSize:
- maxPacketSize
- setPacketFactory:
- packetFactory
- socketType
- wouldBlockInMode:
- sendPacket:timeout:
- sendPacket:
- receivePacketWithMaxSize:timeout:
- receivePacketWithTimeout:
- receivePacketWithMaxSize:
- receivePacket
- setBroadcast:
- doesBroadcast
- setDebug:
- doesDebug


Class Methods
socketBoundToAddress:
+ (id)socketBoundToAddress:(id<NGSocketAddress>)_address
No method description.

socketPair:inDomain:
+ (BOOL)socketPair:(id<NGSocket>[2])_pair inDomain:(id<NGSocketDomain>)_domain
No method description.


Instance Methods
doesBroadcast
- (BOOL)doesBroadcast
No method description.

doesDebug
- (BOOL)doesDebug
No method description.

maxPacketSize
- (int)maxPacketSize
No method description.

packetFactory
- (id<NGDatagramPacketFactory>)packetFactory
No method description.

receivePacket
- (id<NGDatagramPacket>)receivePacket
No method description.

receivePacketWithMaxSize:
- (id<NGDatagramPacket>)receivePacketWithMaxSize:(int)_maxPacketSize
No method description.

receivePacketWithMaxSize:timeout:
- (id<NGDatagramPacket>)receivePacketWithMaxSize:(int)_maxPacketSize timeout:(NSTimeInterval)_timeout
No method description.

receivePacketWithTimeout:
- (id<NGDatagramPacket>)receivePacketWithTimeout:(NSTimeInterval)_timeout
No method description.

sendPacket:
- (BOOL)sendPacket:(id<NGDatagramPacket>)_packet
No method description.

sendPacket:timeout:
- (BOOL)sendPacket:(id<NGDatagramPacket>)_packet timeout:(NSTimeInterval)_timeout
No method description.

setBroadcast:
- (void)setBroadcast:(BOOL)_flag
No method description.

setDebug:
- (void)setDebug:(BOOL)_flag
No method description.

setMaxPacketSize:
- (void)setMaxPacketSize:(int)_maxPacketSize
No method description.

setPacketFactory:
- (void)setPacketFactory:(id<NGDatagramPacketFactory>)_factory
No method description.

socketType
- (int)socketType
No method description.

wouldBlockInMode:
- (BOOL)wouldBlockInMode:(NGStreamMode)_mode
No method description.


Version 1.1.1.1 Copyright ©2002 by SKYRIX Software AG. All Rights Reserved.