Documentation
 
Installation
 
Setup guide
 
Advanced setups
 
  SSL Setup
  Filters
  Scripts
Schemas docs
 
  JBI service
Other
 
  Security
 
  Built with Apache Forrest logo Financial help logo
 
Designed for Firefox logo Java.net member logo
 


PDF 

http://www.sbbi.net/jafs/1.0/jbi-service Schema documentation



Definition  > Declared Namespaces  > Top-level element(s)  > List of elements  > List of simple types  > Element declarations  > Simple types declarations 

Definition

This grammar is used for the JAFS events registration/reception/unregistration on the JBI NMR bus.

Declared Namespaces

PrefixNamespace
Default namespacehttp://www.sbbi.net/jafs/1.0/jbi-service
xmlhttp://www.w3.org/XML/1998/namespace
jshttp://www.sbbi.net/jafs/1.0/jafs-service
xsdhttp://www.w3.org/2001/XMLSchema

Top-level element(s)

event
registration-request
registration-response
unregistration-request

List of elements

eventevent-fieldfilterregistration-requestregistration-responseunregistration-request

List of simple types

EventNameEventType

Element declarations

registration-request

DescriptionRegistration request for events notification, the MessageExchange object used for this operation MUST contains a property named net.sbbi.jafs.services.jbi.client.endpoint with the client ServiceEndpoint object as value. This endpoint will be used to dispatch the event messages via the NMR bus.

ContentSequence : filter*,  js:server-event*,  js:services-event*,  js:session-event*

Used inside

registration-response

DescriptionRegistration request response, returned by jafs after a registration-request message sending.

ContentEmpty

Attributes

id
type: xsd:integer
required attribute
The registration id, must be keept to when an unregistration message needs to be sent.

Used inside

filter

DescriptionFilter setting, this can be used to filter events on certai criteria (client session ip address,server path...)

Contentxsd:string

Attributes

name
type: xsd:string
required attribute
the filter setting name

Used insideregistration-request 

unregistration-request

Description Unregistration request, send this message ot stop to receive events messages

ContentEmpty

Attributes

id
type: xsd:integer
required attribute
The registration id returned during the registration process

Used inside

event

DescriptionEvent notification, this message is sent asynchronously as soon as a registred event is occuring on the server

ContentSequence : event-field*

Attributes

name
type: EventName
required attribute
The event name (onConnect,onDisconnect...)

type
type: EventType
required attribute
The event type (session,server,service)

time-stamp
type: xsd:long
required attribute
The event timestamp (the difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC.)

reg-id
type: xsd:integer
required attribute
The registration id bound to this event notification, this information is provided for endpoints who have made multiple events registrations.

Used inside

event-field

DescriptionEvents field, the field contains some precious informations about the event (such as a file path for an session onFileUploadFinished event)

Contentxsd:string

Attributes

name
type: xsd:string
required attribute
The event field name

Used insideevent 

Simple types declarations

EventType

DescriptionNo type description provided

Base typexsd:string
Possible valuessession |  server |  service

EventName

DescriptionNo type description provided

Base type


 

Copyright © 2005 SuperBonBon Industries. All rights reserved.
Unless otherwise expressly noted, the contents of these pages are licensed under the Creative Commons - Attribution / Share Alike license.