SocketAddressInfo.st
changeset 1163 bf124794e128
child 1225 8839f52dde96
equal deleted inserted replaced
1162:c8ba14f81f13 1163:bf124794e128
       
     1 "{ Package: 'stx:libbasic2' }"
       
     2 
       
     3 Object subclass:#SocketAddressInfo
       
     4 	instanceVariableNames:'domain type protocol socketAddress canonicalName flags'
       
     5 	classVariableNames:''
       
     6 	poolDictionaries:''
       
     7 	category:'OS-Sockets'
       
     8 !
       
     9 
       
    10 
       
    11 !SocketAddressInfo methodsFor:'accessing'!
       
    12 
       
    13 canonicalName
       
    14     "return the value of the instance variable 'canonicalName' (automatically generated)"
       
    15 
       
    16     ^ canonicalName
       
    17 !
       
    18 
       
    19 canonicalName:something
       
    20     "set the value of the instance variable 'canonicalName' (automatically generated)"
       
    21 
       
    22     canonicalName := something.
       
    23 !
       
    24 
       
    25 domain
       
    26     "return the value of the instance variable 'domain' (automatically generated)"
       
    27 
       
    28     ^ domain
       
    29 !
       
    30 
       
    31 domain:something
       
    32     "set the value of the instance variable 'domain' (automatically generated)"
       
    33 
       
    34     domain := something.
       
    35 !
       
    36 
       
    37 flags
       
    38     "return the value of the instance variable 'flags' (automatically generated)"
       
    39 
       
    40     ^ flags
       
    41 !
       
    42 
       
    43 flags:something
       
    44     "set the value of the instance variable 'flags' (automatically generated)"
       
    45 
       
    46     flags := something.
       
    47 !
       
    48 
       
    49 protocol
       
    50     "return the value of the instance variable 'protocol' (automatically generated)"
       
    51 
       
    52     ^ protocol
       
    53 !
       
    54 
       
    55 protocol:something
       
    56     "set the value of the instance variable 'protocol' (automatically generated)"
       
    57 
       
    58     protocol := something.
       
    59 !
       
    60 
       
    61 socketAddress
       
    62     "return the value of the instance variable 'socketAddress' (automatically generated)"
       
    63 
       
    64     ^ socketAddress
       
    65 !
       
    66 
       
    67 socketAddress:something
       
    68     "set the value of the instance variable 'socketAddress' (automatically generated)"
       
    69 
       
    70     socketAddress := something.
       
    71 !
       
    72 
       
    73 type
       
    74     "return the value of the instance variable 'type' (automatically generated)"
       
    75 
       
    76     ^ type
       
    77 !
       
    78 
       
    79 type:something
       
    80     "set the value of the instance variable 'type' (automatically generated)"
       
    81 
       
    82     type := something.
       
    83 ! !
       
    84 
       
    85 !SocketAddressInfo class methodsFor:'documentation'!
       
    86 
       
    87 version
       
    88     ^ '$Header: /cvs/stx/stx/libbasic2/SocketAddressInfo.st,v 1.1 2003-03-27 13:29:58 stefan Exp $'
       
    89 ! !