Adobe
Products

Top destinations

  • Adobe Creative Cloud
  • Creative Suite 6
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • SiteCatalyst
  • Students
  • Elements family

Adobe Creative Cloud

  • What is Adobe Creative Cloud?
  • Design
  • Web
  • Photography
  • Video
  • Students
  • Teams
  • Enterprise
  • Educational institutions
  • Government

Design and photography

  • Photoshop
  • Illustrator
  • InDesign
  • Adobe Muse
  • Lightroom

Video

  • Adobe Premiere
  • After Effects

Web development and HTML5

  • Edge Tools & Services [opens in a new window]
  • Dreamweaver
  • Gaming [opens in a new window]

Adobe Marketing Cloud

  • What is Adobe Marketing Cloud?
  • Digital analytics
  • Social marketing
  • Web experience management
  • Testing and targeting
  • Media optimization

Analytics

  • SiteCatalyst
  • Adobe Discover
  • Insight

Social

  • Adobe Social

Experience Manager

  • CQ
  • Scene7

Target

  • Test&Target
  • Recommendations
  • Search&Promote

Media Optimizer

  • AdLens
  • AudienceManager
  • AudienceResearch

Document services

  • Acrobat
  • EchoSign [opens in a new window]
  • FormsCentral [opens in a new window]
  • SendNow [opens in a new window]
  • Acrobat.com [opens in a new window]

Publishing

  • Digital Publishing Suite

  • See all products
Business solutions

By business need

  • Digital analytics
  • Digital publishing
  • Document management
  • Media optimization
  • Social marketing
  • Testing and targeting
  • Video editing and serving
  • Web development [opens in a new window]
  • Web experience management
  • See all business needs

By industry

  • Broadcast
  • Education
  • Financial services
  • Government
  • Publishing
  • Retail
  • See all industries
Support & Learning

I need help

  • Products
  • Adobe Creative Cloud
  • Adobe Marketing Cloud
  • Forums [opens in a new window]

I want to learn

  • Training and tutorials
  • Certification [opens in a new window]
  • Adobe Developer Connection
  • Adobe Design Center
  • Adobe TV [opens in a new window]
  • Adobe Marketing Center
  • Adobe Labs [opens in a new window]
Download
  • Product trials
  • Adobe Flash Player
  • Adobe Reader
  • Adobe AIR
  • See all downloads
Company
  • Careers at Adobe
  • Investor Relations
  • Newsroom
  • Privacy
  • Corporate Social Responsibility
  • Customer Showcase
  • Contact us
  • More company info
Buy
  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers
  • Adobe Marketing Cloud sales [opens in a new window]
Search
 
Info Sign in
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Welcome,
My Adobe
My orders
My information
My preferences
My products and services
Sign out
My cart
Privacy My Adobe
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out Privacy My Adobe
Preorder Estimated Availability Date. Your credit card will not be charged until the product is shipped. Estimated availability date is subject to change. Preorder Estimated Availability Date. Your credit card will not be charged until the product is ready to download. Estimated availability date is subject to change.
Qty:
Purchase requires verification of academic eligibility
Subtotal
Promotions
Estimated shipping
Tax
Calculated at checkout
Total
Review and Checkout
Adobe Developer Connection / Flex Developer Center / Samples /

Flex 3 network monitor

by Adobe

Adobe logo

Created

25 February 2008

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
Flex
Was this helpful?
Yes   No

By clicking Submit, you accept the Adobe Terms of Use.

 
Thanks for your feedback.

Requirements

User level

All

The network monitor, built by WASI, is a demo application which displays devices on a network in multiple views. The three views are network topology, device type, and grid. Each device thumb uses LiveCycle Data Services ES to display real-time data and allows a user to click it for additional drill down data. In lieu of a database, data is loaded on the server from an XML file which contains layout and initial device information. Pushed data is randomly generated on the server.

network monitor
  • Experience the application

To download and view the full source, right-click the Flex application and select View Source from the context menu.

File and folder descriptions

  • build.xml - ANT file used to build the Java classes.
  • main.mxml - The main application file.
  • FeedAdmin.mxml - Used to stop and start the pushed data feed.
  • /assets/ - Contains image assets and a css file used to style the application.
  • /classes/ - contains the compiled Java classes.
  • /com/ - Contains ActionScript and MXML classes.
  • /data/ - Contains the XML data file. XML is loaded on the server and is used in place of a database.
  • /images/ - Contains images loaded at runtime.
  • /src/ - Contains Java classes.

Flex Builder setup

If you would like to build the project in Flex Builder, be sure to add the following SWC files to your project library path by going to Project > Properties > Flex Build Path > Library path.

  • WEB-INF/flex/user_classes/Cairngorm.swc
  • WEB-INF/flex/user_classes/CairngormEnterprise.swc
  • WEB-INF/flex/libs/fds.swc

Installation instructions

  • Install LiveCycle Data Servcies ES.
  • Unzip the contents to a web application which has LiveCycle Data Service ES running.
  • Copy the "/classes/" directory to WEB-INF.
  • From the download specified above, copy Cairngorm.swc and CairngormEnterprise.swc to WEB-INF/flex/user_classes/.
  • Add the following to the <service> tag in WEB-INF/flex/remoting-config.xml.<destination id="networkMonitor">
    <properties>
    <source>com.esria.samples.networkMonitor.NetworkMonitor</source>
    </properties>
    </destination>
  • Add the following to the <service> tag in WEB-INF/flex/messaging-config.xml.<default-channels>
    <channel ref="my-rtmp"/>
    </default-channels>
    <destination id="feed">
    <properties>
    <network>
    <session-timeout>0</session-timeout>
    </network>
    <server>
    <max-cache-size>1000</max-cache-size>
    <message-time-to-live>0</message-time-to-live>
    <durable>false</durable>
    </server>
    </properties>
    </destination>
  • Start your Java application server.
  • Go to http://localhost:{port}/{context-root}/main.mxml.

Flex framework features

The first thing you notice when viewing this application is the way the various elements are laid out. This is done by having a single Canvas that has an assignable layout manager. As the layout manager repositions elements, effects are used to provide context to the user and indicate that all of the data remains available. In examining the code closer you'll see that WASI chose to use the Cairngorm framework which provides a standard mechanism for organizing the various logic used within the application. For data access the network monitor uses both RemoteObject and Messaging. While this sample uses LiveCycle Data Services it could have been done with BlazeDS as well. Finally you can note that there is extensive use of styles and custom skins within the application.

Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License+Adobe Commercial Rights

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Permissions beyond the scope of this license, pertaining to the examples of code included within this work are available at Adobe.

Note: You may use the sample code in your products, commercial or not.

Products

  • Adobe Creative Cloud
  • Creative Suite 6
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • Digital Publishing Suite
  • Elements family
  • SiteCatalyst
  • For education

Download

  • Product trials
  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR

Support & Learning

  • Product help
  • Forums

Buy

  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2013 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy (Updated) | Cookies

Ad Choices