Jay Oliveri schrieb:
> 
> Can someone briefly list what FCP functionality is missing in the current
> revision of the documentation?

Dunno if i know all, only what I learned from coding FIW:

-----
>    This is the complete set of client to node messages, with the possible
>    node to client responses (only the headers are listed).
> 
>      * ClientHello
>           + NodeHello

       * ClientInfo
            + NodeInfo

       * all that FCP-FEC stuff

>    Additionally, the node may respond to any client message with a
>    FormatError, meaning the command was not understood, and the node may
>    responsd at any time with a Failed, indicating a fault in the node
            ^ e

>    In response the node sends the following message:
> 
> (Node -> Client)
> 
  NodeHello
  MaxFileSize=<???>
  Protocol=<number: protocol version number.  Currently 1.2>
  Node=<string: freeform: Description of the nodes>
  EndMessage

> Requesting
> 
> (Client -> Node)
> 
> ClientGet
  RemoveLocalKey=<true|false>
> URI=<string: fully specified URI, such as freenet:[EMAIL PROTECTED]>
> HopsToLive=<number: hops to live>
> EndMessage


> Inserting
> 
> (Client->Node)
> 
> ClientPut
  RemoveLocalKey=<true|false>
> HopsToLive=<number: hops to live>
> URI=<string: fully specified URI, such as freenet:[EMAIL PROTECTED]>
> DataLength=<number: number of bytes of metadata + data>
> [MetadataLength=<number: default = 0, number of bytes of metadata>]
> Data
> <@DataLength number of bytes>
> 
> (Node -> Client)
> 
> Success
> URI=<string: fully specified URI, such as freenet:[EMAIL PROTECTED]>
> [PublicKey=<string: public key>]
> [PrivateKey=<string: private key>]
> EndMessage

[somewhere:]

(Node -> Client)

RouteNotFound
Unreachable=<#nodes>
Restarted=<#nodes>
Rejected=<#nodes>
EndMessage

If a line is not present, the number is 0.


(Client->Node)

ClientInfo
EndMessage

(Node->Client)

NodeInfo
ActiveJobs=1
MostRecentTimestamp=f5a6aaa66c
LeastRecentTimestamp=f407a0522a
AllocatedMemory=1839000
Architecture=x86
JavaName=Java HotSpot(TM) Client VM
JavaVendor=http://java.sun.com/
MaxFileSize=28f5c2
DatastoreUsed=b0cc000
AvailableThreads=9
EstimatedLoad=1
DatastoreMax=10000000
JavaVersion=1.4.1-b21
DatastoreFree=4f34000
OperatingSystemVersion=4.90
OperatingSystem=Windows Me
FreeMemory=981160
IsTransient=true
RoutingTime=0
EndMessage

maybe some more/less...



-----

HTH,

mihi

_______________________________________________
devl mailing list
[EMAIL PROTECTED]
http://hawk.freenetproject.org:8080/cgi-bin/mailman/listinfo/devl

Reply via email to