InvocationOrigin

sealed class InvocationOrigin

Represents the source of an action such as a flow start, an RPC, a shell command etc.

Inheritors

Types

Link copied to clipboard
data class Peer(val party: CordaX500Name) : InvocationOrigin

Origin was a message sent by a Peer.

Link copied to clipboard
data class RPC(val actor: Actor) : InvocationOrigin

Origin was an RPC call.

Link copied to clipboard
data class Scheduled(val scheduledState: ScheduledStateRef) : InvocationOrigin

Origin was a scheduled activity.

Link copied to clipboard
data class Service(val serviceClassName: String, val owningLegalIdentity: CordaX500Name) : InvocationOrigin

Origin was a Corda Service.

Link copied to clipboard

Origin was the Shell.

Functions

Link copied to clipboard
abstract fun principal(): Principal

Returns the Principal for a given Actor.