被 FInternetAddrDemo 继承.
|
| virtual TSharedRef< FInternetAddr > | Clone () const =0 |
| | Creates a new structure with the same data as this structure 更多...
|
| |
| virtual bool | CompareEndpoints (const FInternetAddr &InAddr) const |
| | Compares FInternetAddrs together, comparing the logical net addresses (endpoints) of the data stored, rather than doing a memory comparison like the equality operator does. 更多...
|
| |
| virtual void | GetIp (uint32 &OutAddr) const =0 |
| | Copies the network byte order ip address to a host byte order dword 更多...
|
| |
|
virtual int32 | GetPlatformPort () const |
| | Get platform specific port data.
|
| |
|
virtual int32 | GetPort () const =0 |
| | Returns the port number from this address in host byte order
|
| |
| virtual void | GetPort (int32 &OutPort) const |
| | Copies the port number from this address and places it into a host byte order int 更多...
|
| |
| virtual FName | GetProtocolType () const |
| | Returns the protocol type name of the address data currently stored in this struct 更多...
|
| |
| virtual TArray< uint8 > | GetRawIp () const =0 |
| | Gets the ip address in a raw array stored in network byte order. 更多...
|
| |
| virtual uint32 | GetTypeHash () const =0 |
| | Hash function for use with TMap's - exposed through FInternetAddrMapRef 更多...
|
| |
| virtual bool | IsValid () const =0 |
| | Is this a well formed internet address 更多...
|
| |
| virtual bool | operator== (const FInternetAddr &Other) const |
| | Compares two internet ip addresses for equality 更多...
|
| |
|
virtual void | SetAnyAddress ()=0 |
| | Sets the address to be any address
|
| |
|
virtual void | SetBroadcastAddress ()=0 |
| | Sets the address to broadcast
|
| |
| virtual void | SetIp (const TCHAR *InAddr, bool &bIsValid)=0 |
| | Sets the ip address from a string ("A.B.C.D") 更多...
|
| |
| virtual void | SetIp (uint32 InAddr)=0 |
| | Sets the ip address from a host byte order uint32 更多...
|
| |
|
virtual void | SetLoopbackAddress ()=0 |
| | Sets the address to loopback
|
| |
|
virtual void | SetPlatformPort (int32 InPort) |
| | Set Platform specific port data
|
| |
| virtual void | SetPort (int32 InPort)=0 |
| | Sets the port number from a host byte order int 更多...
|
| |
| virtual void | SetRawIp (const TArray< uint8 > &RawAddr)=0 |
| | Sets the ip address from a raw network byte order array. 更多...
|
| |
| virtual FString | ToString (bool bAppendPort) const =0 |
| | Converts this internet ip address to string form 更多...
|
| |
Represents an internet address.
All data is in network byte order
| virtual bool FInternetAddr::CompareEndpoints |
( |
const FInternetAddr & |
InAddr | ) |
const |
|
inlinevirtual |
Compares FInternetAddrs together, comparing the logical net addresses (endpoints) of the data stored, rather than doing a memory comparison like the equality operator does.
If it is not explicitly implemented, this falls back to just doing the same behavior of the comparison operator.
@Param InAddr The address to compare with.
- 返回
- true if the endpoint stored in this FInternetAddr is the same as the input.