#import <ObjectiveLib/SocketAddress.h>
Inheritance diagram for OLUnixAddress:

Public Member Functions | |
| (id) | - copy |
| Make a copy of this socket address. | |
| (OLText *) | - description |
| Return a description of this address. | |
| (const struct sockaddr *) | - hostRepresentation |
| Return a platform-dependent representation of the address. | |
| (unsigned) | - hostRepresentationLength |
| Return the length of the host representation. | |
| (BOOL) | - isEqual: |
| Return whether this address is equal to another one. | |
| (const char *) | - path |
| Return the path name occupied by this socket address. | |
Initializers and Deallocators | |
| (id) | - free |
| Finalize the address and deallocate any allocated memory. | |
| (id) | - initWithPath: |
| Initialize the socket address. | |
Static Public Member Functions | |
| (id) | + addressWithPath: |
| Create and return a new socket address. | |
Protected Attributes | |
| sockaddr_un * | hostRep |
| The host representation of the address. | |
Unix domain socket addresses occupy a position in the file system, so they are referred to by their path name.
| + (id) addressWithPath: | (const char *) | pth |
Create and return a new socket address.
The address is created with the given path.
| NSGenericException | if pth cannot be converted to a valid file name or if the full path name cannot be resolved |
| pth | the path in the file system for the address |
| - (id) copy |
| - (OLText*) description |
Return a description of this address.
The description is the same as the path name.
Reimplemented from OLSocketAddress.
| - (id) free |
Finalize the address and deallocate any allocated memory.
| - (const struct sockaddr*) hostRepresentation |
Return a platform-dependent representation of the address.
The returned data can be used in low-level socket operations and is intentionally opaque.
Reimplemented from OLSocketAddress.
| - (unsigned) hostRepresentationLength |
Return the length of the host representation.
The length of the structure returned by hostRepresentation is returned.
Reimplemented from OLSocketAddress.
| - (id) initWithPath: | (const char *) | pth |
Initialize the socket address.
The address is created with the given path.
| NSGenericException | if pth cannot be converted to a valid file name or if the full path name cannot be resolved |
| pth | the path in the file system for the address |
| - (BOOL) isEqual: | (id) | object |
Return whether this address is equal to another one.
| object | the object with which to compare this one |
| - (const char*) path |
Return the path name occupied by this socket address.
- (struct sockaddr_un*) hostRep [protected] |
The host representation of the address.
|