Open ClassFoundation5.9.0
SocketPort
class SocketPort
Superclasses
Citizens in Foundation
Conformances
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol NSCopying
The
NSCopying
protocol declares a method for providing functional copies of an object. The exact meaning of “copy” can vary from class to class, but a copy must be a functionally independent object with values identical to the original at the time the copy was made.protocol NSObjectProtocol
The
NSObjectProtocol
groups methods that are fundamental to all Foundation objects.
Members
convenience init(
) init?(protocolFamily: Int32, socketType: Int32, protocol: Int32, address: Data
) init?(protocolFamily: Int32, socketType: Int32, protocol: Int32, socket: SocketNativeHandle
) init(remoteWithProtocolFamily: Int32, socketType: Int32, protocol: Int32, address: Data
) convenience init?(remoteWithTCPPort: UInt16, host: String?
) convenience init?(tcpPort: UInt16
) var address: Data
var hash: Int
var isValid: Bool
var `protocol`: Int32
var protocolFamily: Int32
var socket: SocketNativeHandle
var socketType: Int32
func delegate(
) -> PortDelegate? func invalidate(
) func isEqual(Any
?) -> Bool func remove(from: RunLoop, forMode: RunLoop.Mode
) func schedule(in: RunLoop, forMode: RunLoop.Mode
) func send(before: Date, components: NSMutableArray?, from: Port?, reserved: Int
) -> Bool func send(before: Date, msgid: Int, components: NSMutableArray?, from: Port?, reserved: Int
) -> Bool func setDelegate(PortDelegate
?)