Interface MemberLookup
-
- All Implemented Interfaces:
@DoNotImplement() public interface MemberLookup
MemberLookup allows flows to retrieve the MemberInfo for any member of the network, including itself.
The platform will provide an instance of MemberLookup to flows via property injection.
-
-
Method Summary
Modifier and Type Method Description abstract MemberInfo
myInfo()
Returns the MemberInfo for the calling flow. abstract MemberInfo
lookup(@NotNull() MemberX500Name name)
Returns the MemberInfo with the specific X500 name. abstract MemberInfo
lookup(@NotNull() PublicKey key)
Returns the MemberInfo with the specific public key. abstract List<MemberInfo>
lookup()
Returns a list of MemberInfo for all members in the network. -
-
Method Detail
-
myInfo
@Suspendable()@NotNull() abstract MemberInfo myInfo()
Returns the MemberInfo for the calling flow.
-
lookup
@Suspendable()@Nullable() abstract MemberInfo lookup(@NotNull() MemberX500Name name)
Returns the MemberInfo with the specific X500 name.
- Parameters:
name
- The MemberX500Name name of the member to retrieve.
-
lookup
@Suspendable()@Nullable() abstract MemberInfo lookup(@NotNull() PublicKey key)
Returns the MemberInfo with the specific public key.
- Parameters:
key
- The PublicKey of the member to retrieve.
-
lookup
@Suspendable()@NotNull() abstract List<MemberInfo> lookup()
Returns a list of MemberInfo for all members in the network.
-
-
-
-