PubSubStatus Enumeration
- Last UpdatedApr 08, 2026
- 2 minute read
An enumeration of state codes that are used to convey information from the
PubSub system to the application.
public enum PubSubStatus : System.Enum
public enum class PubSubStatus : public System.Enum
| Member | Description |
|---|---|
| PS_ALREADY_INITIALIZED | Represents that the client called connect more than once for an instance of the client interface. |
| PS_BAD_CALL | Represents an incorrect function call. This incorrect function call is caused by mixing PSsubscribe calls with PSsubscribeCB calls, or Calling PSreceive when subscriptions have been made via PSsubscribeCB. |
| PS_BAD_TOPIC | Represents that the topic string has an incorrect character usage. |
| PS_BAD_TYPE | Represents a bad System.Enum value was passed. |
| PS_DATA_TRUNC | Represents that the data was either too long if sending or not enough buffer space was provided if receiving. |
| PS_ENGINE_UNAVAIL | Represents that the connection to the PubSub system is down. |
| PS_NO_MEM | Represents that the client interface could not allocate the required dynamic memory. |
| PS_NO_PERMISSION | Represents that the user does not have adequate privileges to carry out the requested action. Check group membership. |
| PS_NO_PUBLISHERS | Represents that all the publishers have stopped publishing on this topic. |
| PS_NO_PUBLISHERS_TREE | Represents that the engine or persistence store was not found, and only the root of the tree can be provided. The status value is not seen at the C# Application Programming Interface (API) level and is handled by the code that follows this member. |
| PS_NOT_INITIALIZED | Represents a routine was called on an unconnected interface. |
| PS_OK | Represents a no errors status. |
| PS_PERSISTENCE_EXISTS | Represents that PubSub persistence exists. Note: This enumeration value is no longer used. |
| PS_REENTRANT_CALL | Represents that there is a reentrant call. Note: This enumeration value is no longer used. |
| PS_TIMEOUT | Represents a set timeout for an operation has expired. |
| PS_TOO_SLOW | Represents that this application has been disconnected due to speed. |
| PS_TOPIC_TRUNC | Represents that the topic was either too long if sending or not enough buffer space was provided if receiving. |
Many of these codes map directly to exceptions, and in fact a PubSubStatus code is contained in all PubSubException.
System.Object
System.ValueType
System.Enum
OASySDNA.Common.PubSub.PubSubStatus