Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/craigdrabiktxmq/exo-demo
/ functions
Functions
241 in github.com/craigdrabiktxmq/exo-demo
⨍
Functions
241
◇
Types & classes
94
↓ 6 callers
Method
setType
(String type)
jaxrs workspace/jaxrs/src/gen/java/io/swagger/api/ApiResponseMessage.java:58
↓ 5 callers
Method
getMessage
()
jaxrs workspace/jaxrs/src/gen/java/io/swagger/api/ApiResponseMessage.java:62
↓ 5 callers
Method
getValue
Accessor for returning the enum value of the transaction type
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/messaging/ExoTransactionType.java:92
↓ 5 callers
Method
hash
Calculates an SHA-256 hash of this object by first serializing to JSON and then hashing that string.
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/persistence/BlockContents.java:37
↓ 4 callers
Method
createTransaction
Submits a transaction to the platform. Applications should use this method over ExoPlatformLocator.getPlatform().createTransaction() to enable unit t
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/core/ExoPlatformLocator.java:424
↓ 4 callers
Method
equals
(java.lang.Object o)
jaxrs workspace/jaxrs/src/gen/java/io/swagger/model/Zoo.java:135
↓ 4 callers
Method
getLogger
Retrieves the logger associated with the supplied node name
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/persistence/BlockLogger.java:41
↓ 4 callers
Method
getState
Accessor for Swirlds state. Developers must call ExoPlatformLocator.init() to initialize the locator before calling getState(), unless running in tes
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/core/ExoPlatformLocator.java:480
↓ 4 callers
Method
setValue
Setter for setting the enum value of the transaction type
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/messaging/ExoTransactionType.java:99
↓ 3 callers
Method
addTransaction
Adds a transaction to the next block
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/persistence/IBlockLogger.java:17
↓ 3 callers
Method
configureRequest
()
client/client/src/api/api/default.service.ts:136
↓ 3 callers
Method
flush
Used to flush to database/disk before shutting down the hashgraph
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/persistence/IBlockLogger.java:34
↓ 3 callers
Method
getBlockLogger
Accessor for the block logging manager
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/core/ExoPlatformLocator.java:506
↓ 3 callers
Method
getConfig
()
jaxrs workspace/jaxrs/exo-java-client/com/txmq/exo/config/ExoConfig.java:24
↓ 3 callers
Method
getName
Get name @return name
hashgraph workspace/hashgraph/source/socketdemo/src/io/swagger/model/Animal.java:52
↓ 3 callers
Method
getNode
()
jaxrs workspace/jaxrs/exo-java-client/com/txmq/exo/messaging/routing/INodeRouter.java:8
↓ 3 callers
Method
getPlatform
Accessor for a reference to the Swirlds platform. Developers must call ExoPlatformLocator.init() to intialize the locator before calling getPlatform(
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/core/ExoPlatformLocator.java:461
↓ 3 callers
Method
getSpecies
Get species @return species
jaxrs workspace/jaxrs/src/gen/java/io/swagger/model/Animal.java:76
↓ 3 callers
Method
hashCode
()
jaxrs workspace/jaxrs/src/gen/java/io/swagger/model/Zoo.java:149
↓ 3 callers
Method
hashCode
()
hashgraph workspace/hashgraph/source/socketdemo/src/io/swagger/model/Zoo.java:144
↓ 3 callers
Method
init
(ServletConfig config)
jaxrs workspace/jaxrs/src/main/java/io/swagger/api/Bootstrap.java:14
↓ 3 callers
Method
init
Initializer method. This gets called by the platform when it creates a copy of the state. When extending ExoState, be sure to call super.init() when
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/core/ExoState.java:108
↓ 3 callers
Method
initialize
Initializes the logger, preparing it to write its first block. TODO: The logger isn't capable of recovery.. It starts a new chain. This might actu
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/persistence/couchdb/CouchDBBlockLogger.java:89
↓ 3 callers
Method
refreshZoo
()
client/client/src/app/home/home.component.ts:43
↓ 3 callers
Method
setLogger
Setter for assingning a logger to a node and making it available through a static accessor.
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/persistence/BlockLogger.java:33
↓ 3 callers
Method
setPreviousBlockHash
Setter for storing the hash of the previous block. The previous block's hash is incorporated into this block's hash, which is how the integrity of th
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/persistence/Block.java:61
↓ 3 callers
Method
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
jaxrs workspace/jaxrs/src/gen/java/io/swagger/model/Zoo.java:171
↓ 3 callers
Method
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
hashgraph workspace/hashgraph/source/socketdemo/src/io/swagger/model/Zoo.java:166
↓ 3 callers
Method
toString
()
jaxrs workspace/jaxrs/src/gen/java/io/swagger/model/Zoo.java:155
↓ 3 callers
Method
toString
()
hashgraph workspace/hashgraph/source/socketdemo/src/io/swagger/model/Zoo.java:150
↓ 2 callers
Method
addPackage
Scans a package, e.g. "com.txmq.exo.messaging.rest" for @ExoTransaction annotations using reflection and sets up the internal mapping of transaction t
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/transactionrouter/ExoTransactionRouter.java:79
↓ 2 callers
Method
bears
(List<String> bears)
hashgraph workspace/hashgraph/source/socketdemo/src/io/swagger/model/Zoo.java:103
↓ 2 callers
Method
copy
()
hashgraph workspace/hashgraph/source/socketdemo/src/com/txmq/socketdemo/SocketDemoState.java:83
↓ 2 callers
Method
equals
Method for Java to use to see if two ExoTransactionType oinstances have the same value.
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/messaging/ExoTransactionType.java:124
↓ 2 callers
Method
forRoot
* Called during bootstrapping by an application when the application * wants to define some or all configuration properties in code. * @param
client/client/src/app/exo/exo.module.ts:41
↓ 2 callers
Method
getBears
@return all the strings received so far from the network
hashgraph workspace/hashgraph/source/socketdemo/src/com/txmq/socketdemo/SocketDemoState.java:68
↓ 2 callers
Method
getBlockSize
Accessor for block size. In the default implementation, this is the number of transactions in the block.
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/persistence/Block.java:52
↓ 2 callers
Method
getInitialized
Public accessor, returns true if the transaction type values have been initialized.
jaxrs workspace/jaxrs/exo-java-client/com/txmq/exo/messaging/ExoTransactionType.java:53
↓ 2 callers
Method
getInitialized
Public accessor, returns true if the transaction type values have been initialized.
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/messaging/ExoTransactionType.java:58
↓ 2 callers
Method
getLions
@return all the strings received so far from the network
hashgraph workspace/hashgraph/source/socketdemo/src/com/txmq/socketdemo/SocketDemoState.java:44
↓ 2 callers
Method
getTigers
@return all the strings received so far from the network
hashgraph workspace/hashgraph/source/socketdemo/src/com/txmq/socketdemo/SocketDemoState.java:56
↓ 2 callers
Method
handleTransaction
Base implementation of transaction handler for Swirlds states. The platform will invoke this method once per transaction as transactions are received
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/core/ExoState.java:84
↓ 2 callers
Method
initialize
Initializes ExoTransactionType with the list of valid enum values
jaxrs workspace/jaxrs/exo-java-client/com/txmq/exo/messaging/ExoTransactionType.java:60
↓ 2 callers
Method
initialize
Initializes ExoTransactionType with the list of valid enum values
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/messaging/ExoTransactionType.java:65
↓ 2 callers
Method
initialize
Initializes the TransactionServer instance with a reference to the platform and a list of packages to scan for routing annotations. @param platform @
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/messaging/socket/TransactionServer.java:132
↓ 2 callers
Method
isJsonMime
* Check if the given MIME is a JSON MIME. * JSON MIME examples: * application/json * application/json; charset=UTF8 * APPLIC
client/client/src/api/configuration.ts:75
↓ 2 callers
Method
lions
(List<String> lions)
hashgraph workspace/hashgraph/source/socketdemo/src/io/swagger/model/Zoo.java:51
↓ 2 callers
Method
loadConfigFromAssets
* This method attempts to load the configuration file from * the default location (/assets/exo-config.json). * @param configReady
client/client/src/app/exo/exo-configuration.service.ts:110
↓ 2 callers
Method
loadConfiguration
(String path)
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/config/ExoConfig.java:16
↓ 2 callers
Method
parseMessagingConfig
(MessagingConfig config)
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/core/ExoPlatformLocator.java:200
↓ 2 callers
Method
routeTransaction
Routes an incoming transaction to its processor. Application code should not need to call this method directly. It is invoked by ExoState.handleTran
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/transactionrouter/ExoTransactionRouter.java:107
↓ 2 callers
Method
save
Saves the block to CouchDB. Creates a new current block, commits the previous block and writes that block's hash into the new current block's previou
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/persistence/couchdb/CouchDBBlockLogger.java:175
↓ 2 callers
Method
sendTransaction
(SocketDemoTransactionTypes transactionType, Serializable payload)
jaxrs workspace/jaxrs/exo-java-client/com/txmq/exo/messaging/SwirldsAdaptor.java:107
↓ 2 callers
Method
serialize
Serialize this transaction to a sequence of bytes @return the sequence as a byte array @throws IOException if anything goes wrong
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/messaging/ExoMessage.java:83
↓ 2 callers
Method
setIndex
Public setter for the block's index. This should be set by the logger and not tampered with by application code. //TODO: Maybe should be protected,
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/persistence/Block.java:85
↓ 2 callers
Method
tigers
(List<String> tigers)
hashgraph workspace/hashgraph/source/socketdemo/src/io/swagger/model/Zoo.java:77
↓ 2 callers
Method
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
jaxrs workspace/jaxrs/src/gen/java/io/swagger/model/Animal.java:122
↓ 2 callers
Method
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
hashgraph workspace/hashgraph/source/socketdemo/src/io/swagger/model/Animal.java:112
↓ 1 callers
Method
addBear
(String name)
hashgraph workspace/hashgraph/source/socketdemo/src/com/txmq/socketdemo/SocketDemoState.java:72
↓ 1 callers
Method
addEndpoint
Public accessor method used by the endpoints API to add available endpoints to the state.
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/core/ExoState.java:55
↓ 1 callers
Method
addLion
(String name)
hashgraph workspace/hashgraph/source/socketdemo/src/com/txmq/socketdemo/SocketDemoState.java:48
↓ 1 callers
Method
addTiger
(String name)
hashgraph workspace/hashgraph/source/socketdemo/src/com/txmq/socketdemo/SocketDemoState.java:60
↓ 1 callers
Method
commit
Sets the block state to committed. Once the block is marked as committed, it will refuse to accept additional transactions.
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/persistence/Block.java:105
↓ 1 callers
Method
configure
Used to configure a logger from an exo-config file. The contents of the parameter list will be specific to each logger @param parameters
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/persistence/IBlockLogger.java:29
↓ 1 callers
Method
copyFrom
Base implementation of copyFrom. Copies endpoints, addressBook, and node naming information stored in the state.
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/core/ExoState.java:63
↓ 1 callers
Method
copyFrom
(FCDataInputStream inStream)
hashgraph workspace/hashgraph/source/socketdemo/src/com/txmq/socketdemo/SocketDemoState.java:101
↓ 1 callers
Method
deserialize
Deserialize this file transaction from a sequence of bytes @param b the sequence of bytes @return the file transaction @throws IOException
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/messaging/ExoMessage.java:101
↓ 1 callers
Method
flushLoggers
()
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/persistence/BlockLogger.java:61
↓ 1 callers
Method
format
(Date date, StringBuffer toAppendTo, FieldPosition fieldPosition)
jaxrs workspace/jaxrs/src/gen/java/io/swagger/api/RFC3339DateFormat.java:12
↓ 1 callers
Method
getBaseUrl
* Services implemented in application code should use this method to get a base * URL for an API exposed by a running Hashgraph node. * * Cu
client/client/src/app/exo/exo-distributed-endpoint.service.ts:94
↓ 1 callers
Method
getConfig
()
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/config/ExoConfig.java:26
↓ 1 callers
Method
getEndpoints
@return all the strings received so far from the network
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/core/ExoState.java:48
↓ 1 callers
Method
getHash
Public accessor for the block's hash
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/persistence/Block.java:68
↓ 1 callers
Method
getIndex
Public accessor for the block's index
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/persistence/Block.java:75
↓ 1 callers
Method
getKey
()
jaxrs workspace/jaxrs/exo-java-client/com/txmq/exo/config/KeyValue.java:6
↓ 1 callers
Method
getKnownSockets
()
jaxrs workspace/jaxrs/exo-java-client/com/txmq/exo/config/ClientConfig.java:14
↓ 1 callers
Method
getParagraphText
()
client/client/e2e/app.po.ts:8
↓ 1 callers
Method
getSpecies
Get species @return species
hashgraph workspace/hashgraph/source/socketdemo/src/io/swagger/model/Animal.java:69
↓ 1 callers
Method
getTransactionRouter
Accessor for the Exo transaction router. @see com.txmq.exo.transactionrouter.ExoTransactionRouter
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/core/ExoPlatformLocator.java:499
↓ 1 callers
Method
getZoo
* Returns all the animals in the zoo * Returns all of the animals in the zoo
client/client/src/api/api/default.service.ts:128
↓ 1 callers
Method
getZooApi
()
jaxrs workspace/jaxrs/src/main/java/io/swagger/api/factories/ZooApiServiceFactory.java:10
↓ 1 callers
Method
init
* This method is called by the module when the module is loaded. It handles the * initialization procedure for the framework. Application code s
client/client/src/app/exo/exo-platform.service.ts:50
↓ 1 callers
Method
init
Initialization method for the platform. This should be called by your main's init() or run() methods
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/core/ExoPlatformLocator.java:254
↓ 1 callers
Method
initFromConfig
Initializes the platform from an exo-config.json file located in the same directory as the application runs in. @throws ClassNotFoundException
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/core/ExoPlatformLocator.java:137
↓ 1 callers
Method
initREST
Initializes Grizzly-based REST interfaces defined in the included package list, listening on the included port. Enabling REST will automatically expos
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/core/ExoPlatformLocator.java:292
↓ 1 callers
Method
initSecuredSocketMessaging
Sets up a TLS-encrypted socket-based API for communicating with this Swirld on the supplied port. X.509 certs are used to authenticate connecting cli
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/core/ExoPlatformLocator.java:402
↓ 1 callers
Method
initSocketMessaging
Sets up a socket-based API for communicating with this Swirld on the supplied port. Scans the supplied list of packages for methods annotated with @E
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/core/ExoPlatformLocator.java:387
↓ 1 callers
Method
loadConfiguration
(String path)
jaxrs workspace/jaxrs/exo-java-client/com/txmq/exo/config/ExoConfig.java:14
↓ 1 callers
Method
name
(String name)
jaxrs workspace/jaxrs/src/gen/java/io/swagger/model/Animal.java:47
↓ 1 callers
Method
navigateTo
()
client/client/e2e/app.po.ts:4
↓ 1 callers
Method
save
Asks the logger to persist a block to storage
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/persistence/IBlockLogger.java:22
↓ 1 callers
Method
selectHeaderAccept
* Select the correct accept content-type to use for a request. * Uses {@link Configuration#isJsonMime} to determine the correct accept content-ty
client/client/src/api/configuration.ts:53
↓ 1 callers
Method
selectHeaderContentType
* Select the correct content-type to use for a request. * Uses {@link Configuration#isJsonMime} to determine the correct content-type. * If
client/client/src/api/configuration.ts:34
↓ 1 callers
Method
setAvailableNodes
(List<SocketAddress> nodes)
jaxrs workspace/jaxrs/exo-java-client/com/txmq/exo/messaging/routing/INodeRouter.java:7
↓ 1 callers
Method
setValue
Setter for setting the enum value of the transaction type
jaxrs workspace/jaxrs/exo-java-client/com/txmq/exo/messaging/ExoTransactionType.java:94
↓ 1 callers
Method
setValue
(String value)
jaxrs workspace/jaxrs/exo-java-client/com/txmq/exo/config/KeyValue.java:20
↓ 1 callers
Method
setupSecuredSocket
()
jaxrs workspace/jaxrs/exo-java-client/com/txmq/exo/messaging/SwirldsAdaptor.java:69
↓ 1 callers
Method
setupUnsecuredSocket
()
jaxrs workspace/jaxrs/exo-java-client/com/txmq/exo/messaging/SwirldsAdaptor.java:59
↓ 1 callers
Method
shutdown
()
hashgraph workspace/hashgraph/source/socketdemo/exo/com/txmq/exo/core/ExoPlatformLocator.java:108
↓ 1 callers
Method
stopHashgraph
()
client/client/src/api/api/default.service.ts:132
next →
1–100 of 241, ranked by callers