keycloak-federation
公開メンバ関数 | 変数 | 全メンバ一覧
cx.ath.matthew.unix.UnixSocketAddress クラス
cx.ath.matthew.unix.UnixSocketAddress 連携図
Collaboration graph

公開メンバ関数

 UnixSocketAddress (String path, boolean abs)
 
 UnixSocketAddress (String path)
 
String getPath ()
 
boolean isAbstract ()
 
String toString ()
 
boolean equals (Object o)
 
int hashCode ()
 

変数

String path
 
boolean abs
 

詳解

Represents an address for a Unix Socket

構築子と解体子

◆ UnixSocketAddress() [1/2]

cx.ath.matthew.unix.UnixSocketAddress.UnixSocketAddress ( String  path,
boolean  abs 
)
inline

Create the address.

引数
pathThe path to the Unix Socket.
absTrue if this should be an abstract socket.
42  {
43  this.path = path;
44  this.abs = abs;
45  }
String path
Definition: UnixSocketAddress.java:33
boolean abs
Definition: UnixSocketAddress.java:34

◆ UnixSocketAddress() [2/2]

cx.ath.matthew.unix.UnixSocketAddress.UnixSocketAddress ( String  path)
inline

Create the address.

引数
pathThe path to the Unix Socket.
52  {
53  this.path = path;
54  this.abs = false;
55  }
String path
Definition: UnixSocketAddress.java:33
boolean abs
Definition: UnixSocketAddress.java:34

関数詳解

◆ equals()

boolean cx.ath.matthew.unix.UnixSocketAddress.equals ( Object  o)
inline
78  {
79  if (!(o instanceof UnixSocketAddress)) return false;
80  return ((UnixSocketAddress) o).path.equals(this.path);
81  }
UnixSocketAddress(String path, boolean abs)
Definition: UnixSocketAddress.java:42
String path
Definition: UnixSocketAddress.java:33

◆ getPath()

String cx.ath.matthew.unix.UnixSocketAddress.getPath ( )
inline

Return the path.

60  {
61  return path;
62  }
String path
Definition: UnixSocketAddress.java:33

◆ hashCode()

int cx.ath.matthew.unix.UnixSocketAddress.hashCode ( )
inline
83  {
84  return path.hashCode();
85  }
String path
Definition: UnixSocketAddress.java:33

◆ isAbstract()

boolean cx.ath.matthew.unix.UnixSocketAddress.isAbstract ( )
inline

Returns true if this an address for an abstract socket.

67  {
68  return abs;
69  }
boolean abs
Definition: UnixSocketAddress.java:34

◆ toString()

String cx.ath.matthew.unix.UnixSocketAddress.toString ( )
inline

Return the Address as a String.

74  {
75  return "unix" + (abs ? ":abstract" : "") + ":path=" + path;
76  }
String path
Definition: UnixSocketAddress.java:33
boolean abs
Definition: UnixSocketAddress.java:34

メンバ詳解

◆ abs

boolean cx.ath.matthew.unix.UnixSocketAddress.abs
package

◆ path

String cx.ath.matthew.unix.UnixSocketAddress.path
package

このクラス詳解は次のファイルから抽出されました: