InitializationEvent

public abstract class InitializationEvent extends Object

The types of events thatProtocolInitializationStateMachinereacts to.

Constructors

Name Description
public InitializationEvent()

Methods

getType

public abstract Type getType()

ReturnValue

Name Description
Type

startNegotiation

public abstract void startNegotiation()

ReturnValue

Name Description
void

valueWritten

public abstract CharacteristicUpdate valueWritten()

ReturnValue

Name Description
CharacteristicUpdate

receivedResponse

public abstract Response receivedResponse()

ReturnValue

Name Description
Response

receivedResponseWithError

public abstract Throwable receivedResponseWithError()

ReturnValue

Name Description
Throwable

createdConnectedTagInstance

public abstract ConnectedJacquardTag createdConnectedTagInstance()

ReturnValue

Name Description
ConnectedJacquardTag

ofCreatedConnectedTagInstance

public static InitializationEvent ofCreatedConnectedTagInstance(ConnectedJacquardTag tag)

Parameters

Name Description
ConnectedJacquardTag tag

ReturnValue

Name Description
InitializationEvent

ofStartNegotiation

public static InitializationEvent ofStartNegotiation()

ReturnValue

Name Description
InitializationEvent

ofReceivedResponse

public static InitializationEvent ofReceivedResponse(Response response)

Parameters

Name Description
Response response

ReturnValue

Name Description
InitializationEvent

ofReceivedResponseWithError

public static InitializationEvent ofReceivedResponseWithError(Throwable throwable)

Parameters

Name Description
Throwable throwable

ReturnValue

Name Description
InitializationEvent

ofValueWritten

public static InitializationEvent ofValueWritten(CharacteristicUpdate characteristicUpdate)

Parameters

Name Description
CharacteristicUpdate characteristicUpdate

ReturnValue

Name Description
InitializationEvent