Package | net.systemeD.halcyon.connection |
Class | public class AMFConnection |
Inheritance | AMFConnection ![]() ![]() |
Property | Defined by | ||
---|---|---|---|
![]() | ADDED_TO_RELATION : String = "added_to_relation" [static]
| Connection | |
![]() | apiBase : String | Connection | |
![]() | DATA_CLEAN : String = "data_clean" [static]
| Connection | |
![]() | DATA_DIRTY : String = "data_dirty" [static]
| Connection | |
![]() | ENTITY_DRAGGED : String = "entity_dragged" [static]
| Connection | |
![]() | isDirty : Boolean | Connection | |
![]() | LOAD_COMPLETED : String = "load_completed" [static]
| Connection | |
![]() | LOAD_STARTED : String = "load_started" [static]
| Connection | |
![]() | name : String | Connection | |
![]() | NEW_CHANGESET : String = "new_changeset" [static]
| Connection | |
![]() | NEW_CHANGESET_ERROR : String = "new_changeset_error" [static]
| Connection | |
![]() | NEW_MARKER : String = "new_marker" [static]
| Connection | |
![]() | NEW_NODE : String = "new_node" [static]
| Connection | |
![]() | NEW_POI : String = "new_poi" [static]
| Connection | |
![]() | NEW_RELATION : String = "new_relation" [static]
| Connection | |
![]() | NEW_WAY : String = "new_way" [static]
| Connection | |
![]() | NODE_ALTERED : String = "node_altered" [static]
| Connection | |
![]() | nodecount : int = 0 | Connection | |
![]() | NODE_DELETED : String = "node_deleted" [static]
| Connection | |
![]() | NODE_MOVED : String = "node_moved" [static]
| Connection | |
![]() | NODE_RENUMBERED : String = "node_renumbered" [static]
| Connection | |
readConnection : NetConnection | AMFConnection | ||
![]() | relationcount : int = 0 | Connection | |
![]() | RELATION_DELETED : String = "relation_deleted" [static]
| Connection | |
![]() | RELATION_MEMBER_ADDED : String = "relation_member_added" [static]
| Connection | |
![]() | RELATION_MEMBER_REMOVED : String = "relation_member_deleted" [static]
| Connection | |
![]() | RELATION_RENUMBERED : String = "relation_renumbered" [static]
| Connection | |
![]() | REMOVED_FROM_RELATION : String = "removed_from_relation" [static]
| Connection | |
![]() | RESUME_REDRAW : String = "resume_redraw" [static]
| Connection | |
![]() | SAVE_COMPLETED : String = "save_completed" [static]
| Connection | |
![]() | SAVE_STARTED : String = "save_started" [static]
| Connection | |
![]() | serverName : String | Connection | |
![]() | STATUS_CHANGED : String = "status_changed" [static]
| Connection | |
![]() | statusFetcher : StatusFetcher | Connection | |
![]() | SUSPEND_REDRAW : String = "suspend_redraw" [static]
| Connection | |
![]() | TAG_CHANGED : String = "tag_changed" [static]
| Connection | |
![]() | TRACES_LOADED : String = "traces_loaded" [static]
| Connection | |
![]() | waycount : int = 0 | Connection | |
![]() | WAY_DELETED : String = "way_deleted" [static]
| Connection | |
![]() | WAY_NODE_ADDED : String = "way_node_added" [static]
| Connection | |
![]() | WAY_NODE_REMOVED : String = "way_node_removed" [static]
| Connection | |
![]() | WAY_RENUMBERED : String = "way_renumbered" [static]
| Connection | |
![]() | WAY_REORDERED : String = "way_reordered" [static]
| Connection | |
writeConnection : NetConnection | AMFConnection |
Method | Defined by | ||
---|---|---|---|
AMFConnection(name:String, api:String, policy:String, initparams:Object)
| AMFConnection | ||
![]() | Connection | ||
![]() |
cancelUpload():void
| Connection | |
![]() |
closeChangeset():void
| Connection | |
![]() |
createChangeset(tags:Object):void
| Connection | |
![]() |
createMarker(tags:Object, lat:Number, lon:Number, id:Number):Marker
Create a new marker.
| Connection | |
![]() |
createNode(tags:Object, lat:Number, lon:Number, performCreate:Function):Node
| Connection | |
![]() |
createRelation(tags:Object, members:Array, performCreate:Function):Relation
| Connection | |
![]() | Connection | ||
![]() |
deleteBeforeUpload(entity:Entity):void
| Connection | |
![]() |
fetchTrace(id:Number, callback:Function):void
| Connection | |
![]() |
fetchUserTraces(refresh:Boolean = false):void
| Connection | |
![]() | Connection | ||
![]() |
getAllLoadedEntities():Array
| Connection | |
![]() |
getAllNodeIDs():Array
| Connection | |
![]() |
getAllRelationIDs():Array
| Connection | |
![]() |
getAllWayIDs():Array
| Connection | |
getEnvironment(responder:Responder):void
| AMFConnection | ||
![]() | Connection | ||
![]() |
getMatchingRelationIDs(match:Object):Array
Returns all available relations that match all of {k1: [v1,v2,...], k2: [v1...] ...}
where p1 is an array [v1, v2, v3...]
| Connection | |
![]() | Connection | ||
![]() |
getNodesAtPosition(lat:Number, lon:Number):Array
| Connection | |
![]() |
getObjectsByBbox(left:Number, right:Number, top:Number, bottom:Number):Object
| Connection | |
![]() |
getParam(name:String, defaultValue:String):String
| Connection | |
![]() |
getRelation(id:Number):Relation
| Connection | |
![]() |
getTraces():Array
| Connection | |
![]() | Connection | ||
![]() |
goToEntity(entity:Entity):void
| Connection | |
![]() |
hasAccessToken():Boolean
| Connection | |
![]() | Connection | ||
loadBbox(left:Number, right:Number, top:Number, bottom:Number):void
| AMFConnection | ||
![]() |
loadEntity(entity:Entity):void
| Connection | |
![]() |
loadEntityByID(type:String, id:Number):void
| Connection | |
![]() |
markClean():void
| Connection | |
![]() |
markDirty():void
| Connection | |
![]() |
nodesAtPosition(lat:Number, lon:Number):uint
| Connection | |
![]() |
purgeIfFull(left:Number, right:Number, top:Number, bottom:Number):void
Purge all data if number of ways exceeds limit
| Connection | |
![]() |
purgeOutside(left:Number, right:Number, top:Number, bottom:Number):void
| Connection | |
![]() |
registerPOI(node:Node):void
| Connection | |
![]() |
removeDupe(node:Node):void
| Connection | |
![]() |
retryUpload(e:Event = null):void
| Connection | |
![]() |
retryUploadWithNewChangeset():void
| Connection | |
![]() |
revertBeforeUpload(entity:Entity):void
| Connection | |
sendEvent(e:*, queue:Boolean):void
| AMFConnection | ||
![]() |
setAccessToken(key:String, secret:String):void
| Connection | |
![]() |
setAuthToken(id:Object):void
| Connection | |
![]() |
unregisterPOI(node:Node):void
| Connection | |
![]() |
uploadChanges():*
| Connection |
readConnection | property |
public var readConnection:NetConnection
writeConnection | property |
public var writeConnection:NetConnection
AMFConnection | () | constructor |
public function AMFConnection(name:String, api:String, policy:String, initparams:Object)
Parameters
name:String |
|
api:String |
|
policy:String |
|
initparams:Object |
getEnvironment | () | method |
public override function getEnvironment(responder:Responder):void
Parameters
responder:Responder |
loadBbox | () | method |
public override function loadBbox(left:Number, right:Number, top:Number, bottom:Number):void
Parameters
left:Number |
|
right:Number |
|
top:Number |
|
bottom:Number |
sendEvent | () | method |
public override function sendEvent(e:*, queue:Boolean):void
Parameters
e:* |
|
queue:Boolean |