public enum ChannelAccessCommand extends java.lang.Enum<ChannelAccessCommand>
Enum Constant and Description |
---|
CA_PROTO_ACCESS_RIGHTS
Message for communicating the access rights for a channel.
|
CA_PROTO_BUILD
This message is not used by any supported version of the protocol.
|
CA_PROTO_CLEAR_CHANNEL
Message for closing a channel.
|
CA_PROTO_CLIENT_NAME
Message for specifying the user name.
|
CA_PROTO_CREATE_CH_FAIL
Message for indicating an error while trying to open a channel.
|
CA_PROTO_CREATE_CHAN
Message for opening a channel.
|
CA_PROTO_ECHO
Message for testing the connection to a server.
|
CA_PROTO_ERROR
Message for signaling an error condition.
|
CA_PROTO_EVENT_ADD
Message for creating an event subscription.
|
CA_PROTO_EVENT_CANCEL
Message for canceling an event subscription.
|
CA_PROTO_EVENTS_OFF
Message for stopping the transmission of events.
|
CA_PROTO_EVENTS_ON
Message for resuming the transmission of events.
|
CA_PROTO_HOST_NAME
Message for specifying the host name.
|
CA_PROTO_NOT_FOUND
Message signaling that a channel could not be found.
|
CA_PROTO_READ
Legacy message for reading from a channel.
|
CA_PROTO_READ_BUILD
This message is not used by any supported version of the protocol.
|
CA_PROTO_READ_NOTIFY
Message for reading from a channel.
|
CA_PROTO_READ_SYNC
Message for canceling outstanding read request.
|
CA_PROTO_RSRV_IS_UP
Message sent by a server to announce that it is running.
|
CA_PROTO_SEARCH
Message for finding a channel.
|
CA_PROTO_SERVER_DISCONN
Message for indicating that a channel has been deleted from the server.
|
CA_PROTO_SIGNAL
This message is not used by any supported version of the protocol.
|
CA_PROTO_SNAPSHOT
This message is not used by any supported version of the protocol.
|
CA_PROTO_VERSION
Message for communicating the protocol version..
|
CA_PROTO_WRITE
Message for writing to a channel.
|
CA_PROTO_WRITE_NOTIFY
Message for writing to a channel.
|
REPEATER_CONFIRM
Message for confirming a registration with the Channel Access repeater.
|
REPEATER_REGISTER
Legacy message for registering with a Channel Access repeater.
|
Modifier and Type | Method and Description |
---|---|
static ChannelAccessCommand |
forCommandNumber(short commandNumber)
Returns the command for a command number.
|
short |
getCommandNumber()
Returns the command number.
|
static ChannelAccessCommand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChannelAccessCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelAccessCommand CA_PROTO_VERSION
public static final ChannelAccessCommand CA_PROTO_EVENT_ADD
public static final ChannelAccessCommand CA_PROTO_EVENT_CANCEL
public static final ChannelAccessCommand CA_PROTO_READ
CA_PROTO_READ_NOTIFY
message.public static final ChannelAccessCommand CA_PROTO_WRITE
CA_PROTO_ERROR
message if the write fails.ChannelAccessWriteMessage
public static final ChannelAccessCommand CA_PROTO_SNAPSHOT
public static final ChannelAccessCommand CA_PROTO_SEARCH
public static final ChannelAccessCommand CA_PROTO_BUILD
public static final ChannelAccessCommand CA_PROTO_EVENTS_OFF
CA_PROTO_EVENTS_ON
.ChannelAccessEventsOffMessage
public static final ChannelAccessCommand CA_PROTO_EVENTS_ON
CA_PROTO_EVENTS_OFF
.ChannelAccessEventsOnMessage
public static final ChannelAccessCommand CA_PROTO_READ_SYNC
CA_PROTO_ECHO
message,
when using a protocol version that does not support the echo message yet.ChannelAccessReadSyncMessage
public static final ChannelAccessCommand CA_PROTO_ERROR
ChannelAccessErrorMessage
public static final ChannelAccessCommand CA_PROTO_CLEAR_CHANNEL
CA_PROTO_CREATE_CHAN
message.ChannelAccessDisconnectChannelMessage
public static final ChannelAccessCommand CA_PROTO_RSRV_IS_UP
ChannelAccessBeaconMessage
public static final ChannelAccessCommand CA_PROTO_NOT_FOUND
CA_PROTO_SEARCH
message, but only if the
client explicitly requested to be informed, if the server could not find
the channel. Usually, requests for channels that are not known by the
server are simply discarded.ChannelAccessNotFoundMessage
public static final ChannelAccessCommand CA_PROTO_READ_NOTIFY
public static final ChannelAccessCommand CA_PROTO_READ_BUILD
ChannelAccessReadBuildMessage
public static final ChannelAccessCommand REPEATER_CONFIRM
public static final ChannelAccessCommand CA_PROTO_CREATE_CHAN
CA_PROTO_CREATE_CH_FAIL
or CA_PROTO_ERROR
message.public static final ChannelAccessCommand CA_PROTO_WRITE_NOTIFY
CA_PROTO_ERROR
message, depending on the cause of the error.public static final ChannelAccessCommand CA_PROTO_CLIENT_NAME
public static final ChannelAccessCommand CA_PROTO_HOST_NAME
public static final ChannelAccessCommand CA_PROTO_ACCESS_RIGHTS
public static final ChannelAccessCommand CA_PROTO_ECHO
ChannelAccessEchoMessage
public static final ChannelAccessCommand REPEATER_REGISTER
ChannelAccessRepeaterRegisterMessage
public static final ChannelAccessCommand CA_PROTO_SIGNAL
public static final ChannelAccessCommand CA_PROTO_CREATE_CH_FAIL
CA_PROTO_CREATE_CHAN
message, if
the channel cannot be opened due to a lack of resources on the server
side.ChannelAccessConnectChannelFailedMessage
public static final ChannelAccessCommand CA_PROTO_SERVER_DISCONN
public static ChannelAccessCommand[] values()
for (ChannelAccessCommand c : ChannelAccessCommand.values()) System.out.println(c);
public static ChannelAccessCommand valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic short getCommandNumber()
public static ChannelAccessCommand forCommandNumber(short commandNumber)
commandNumber
- the command number.java.lang.IllegalArgumentException
- if commandNumber
does not refer to a well-known
command.Copyright © 2014–2019 aquenos GmbH. All rights reserved.