# Aw::Adapter

Method | Arguments | Return | Throws Exception
--- | --- | --- | ---
new | ( [ @Strings ] ) ( [ Aw::Properties ] ) | Aw::Adapter | YES
DESTROY | ( ) | void | NO
addEvent | ( event ) | void | NO
checkPublications | ( ) | void | NO
connectTest | ( ) | Boolean | NO
createAdapterClient | ( stateShare ) | Boolean | YES
createClient | ( ) | Boolean | YES
deliverErrorEvent | ( category, msgId, @Strings ) | void | NO
getAdapterEventName | ( ) | String | NO
getAdapterType adapterType | ( ) | String | NO
getAdapterVersion adapterVersion | ( ) | String | NO
getBroker brokerClient | ( ) | String | NO
getBrokerHost brokerHost | ( ) | String | NO
getBrokerName brokerName | ( ) | String | NO
getClientGroup clientGroup | ( ) | String | NO
getClientId clientId | ( ) | String | NO
getClientName clientName | ( ) | String | NO
getEventDefs eventDefs | ( ) | @Aw::EventType | YES
getEvents | ( ) | Boolean | YES
getPublishWaitTime | ( ) | Number | NO
init | ( ) | Boolean | NO
initStatusSubscriptions | ( ) | Boolean | YES
isConnectTest | ( ) | Boolean | NO
isEventFieldSet | ( event, field_name ) | Boolean | NO
isMaster | ( ) | Boolean | NO
newSubscription | ( event_type_name, filter, [ [requestEvent], [requestDef] ] ) | Boolean | YES
publishStatus | ( ) | Boolean | YES
removeEvent | ( event_name ) | void | NO
setConnectionDescriptorSSL | ( desc ) | Boolean | YES
setEventField | (event, field_name, typeDef, value) | Boolean | NO
setStatusProperty | ( propertyName ) | void | NO
verifyLicense | ( licenseKeyPrefix ) | void | NO
getAdminClient | ( ) | Aw::Client | YES
getBrokerClient | ( ) | Aw::Client | YES
getClient | ( ) | Aw::Client | YES
getAdapterInfo | ( ) | Aw::Event | NO
requestEvent | ( ) | Aw::Event | NO
eventDef | ( ) | Aw::EventType | YES
getEventDef | ( name ) | Aw::EventType | YES
loadProperties | ( @Strings ) | Aw::Properties | NO
methods requiring an AdapterHandle are accessible from Aw::Adapter
createEvent | ( name ) | Aw::Event | NO
createTypedEvent | ( name ) | Aw::Event | NO
deliverAckReplyEvent | ( ) | Boolean | NO
deliverNullReplyEvent | ( ) | Boolean | NO
deliverPartialReplyEvent | ( replyEvent, record, isLast, replyToken ) | Boolean | NO
deliverReplyEvent | ( event ) | Boolean | NO
getEventTypeDef | ( event_name ) | Aw::TypeDef | YES
getStringField | ( field_name ) | String | YES
publish | ( event ) | Boolean | NO
setFieldFromString | ( event, field_name, typeDef, value ) | Boolean | NO
setStringField | ( event, fieldName, value ) | Boolean | NO
setupEventVerify | ( canSubscribe, canPublish, supportsNotification ) | Boolean | NO
toFormattedString | ( format ) | String | NO
Inherited Methods
err | ( ) | Boolean | YES
errmsg | ( ) | String | YES
error | ( ) | Aw::Error | NO
hello | ( ) Returns the string "hello". Useful for debugging. | String | NO
getWarn | ( ) Returns current warn `level`. | Number | NO
setWarn | ( level ) Sets new warn `level`. 0 : No warnings (quiet mode) 1 : Terse (uses awErrorToString) 2 : Verbose (uses awErrorToCompleteString) The Aw extensions must be compiled with AWXS_WARNS defined. | void | NO
warn | ( [string] ) Warn message is `string` if passed, otherwise current err is converted to string. | void | YES