GCKNetworkAddress ক্লাস
একটি বস্তু যা একটি নেটওয়ার্ক IP ঠিকানা প্রতিনিধিত্ব করে।
এই বস্তুটি অপরিবর্তনীয়।
- থেকে
- 4.2
উত্তরাধিকারসূত্রে NSObject, <NSCopying>, এবং <NSSecureCoding>।
|
GCKNetworkAddressType | type |
| ঠিকানার ধরন। আরও...
|
|
NSString * | ipAddress |
| আইপি ঠিকানা। আরও...
|
|
NSData * | addressData |
| একটি NSData হিসাবে নেটওয়ার্ক ঠিকানা উপযুক্ত ঠিকানা কাঠামো (যেমন, struct in_addr বা struct in6_addr)। আরও...
|
|
ডিফল্ট ইনিশিয়ালাইজার ব্যবহার করার অনুমতি নেই।
- (instancetype) initWithType: |
|
(GCKNetworkAddressType) |
type |
ipAddress: |
|
(nullable NSString *) |
ipAddress |
|
|
| |
প্রদত্ত ঠিকানার ধরন এবং IP ঠিকানা সহ একটি GCKNetworkAddress তৈরি করে।
- Parameters
-
type | The address type. |
ipAddress | The IP address, in textual form. May be nil to indicate the wildcard ("any") address. |
- (instancetype) initWithType: |
|
(GCKNetworkAddressType) |
type |
addressData: |
|
(nullable NSData *) |
addressData |
|
|
| |
প্রদত্ত ঠিকানার ধরন এবং কাঁচা ঠিকানা সহ একটি GCKNetworkAddress তৈরি করে।
- Parameters
-
type | The address type. |
addressData | An NSData object containing the appropriate address structure (e.g., struct in_addr or struct in6_addr). For the GCKNNetworkAddressTypeIPC, the data is expected to be a UTF8 encoding. |
প্রদত্ত প্রকারের একটি ওয়াইল্ডকার্ড ঠিকানা তৈরি করে।
প্রদত্ত প্রকারের একটি লুপব্যাক ঠিকানা তৈরি করে।
একটি IPv4 সম্প্রচার ঠিকানা তৈরি করে।
একটি IPv4 ঠিকানা তৈরি করে।
একটি IPv6 ঠিকানা তৈরি করে।
একটি IPC ঠিকানা তৈরি করে।
- (GCKNetworkAddressType) type |
|
read nonatomic assign |
একটি NSData হিসাবে নেটওয়ার্ক ঠিকানা উপযুক্ত ঠিকানা কাঠামো (যেমন, struct in_addr বা struct in6_addr)।
আইপিসি ঠিকানার জন্য, এই ক্ষেত্রটি একটি UTF8 এনকোডিং।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-01-10 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-01-10 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["The `GCKNetworkAddress` class represents a network IP address and is immutable."],["It provides methods to construct network addresses of various types, including IPv4, IPv6, and IPC."],["You can obtain the address type, IP address string, and raw address data from instances of this class."],["The default initializer is not allowed; you must use designated initializers to create instances."]]],["The `GCKNetworkAddress` class represents an immutable network IP address. Key actions include: constructing addresses with specified type and IP/raw address using `initWithType:ipAddress:` or `initWithType:addressData:`, creating wildcard addresses with `wildcardAddressOfType:`, loopback addresses with `loopbackAddressOfType:`, or IPv4/IPv6/IPC addresses with corresponding methods. It has properties that return the address's type, IP address, and network data representation. The default initializer is not allowed.\n"]]