1. A compiler for compiling at least one instruction in a source code program into an Internet Protocol (IP) packet level trigger for a network, wherein the source code program describes a high level network event in terms of at least one low level network event; wherein the high level network event occurs in a first layer of a network model, the at least one low level event occurs in a second layer of the network model, and the first layer is higher than the second layer in the network model; and wherein the IP packet level trigger is executed by a packet processor to perform the at least one low level network event; the compiler operative to accept input of the source code program, and comprising: a compiler processor; and a non-transitory computer-readable medium storing a packet level trigger compiler located with the compiler processor, wherein the packet level trigger compiler is operative to output an IP packet level trigger; and wherein the packet level trigger compiler is operative to accept inputs of: an application level constraint identifying the high level event; a transfer syntax encoding, describing the type of data supplied to the compiler; an abstract syntax notation describing the structure of the transfer syntax encoding; and a message sequence, indicating the protocol for interaction between a client computer and a server computer over the network; and wherein the packet level trigger compiler is operative to: perform lexical and syntactical analysis on the source code; generate preliminary code for the IP packet level trigger; optimize the preliminary code by evaluating parameters of the packet processor; and generate and output final code for the IP packet level trigger for execution by the packet processor.
1. A compiler for compiling at least one instruction in a source code program into an Internet Protocol (IP) packet level trigger for a network, wherein the source code program describes a high level network event in terms of at least one low level network event; wherein the high level network event occurs in a first layer of a network model, the at least one low level event occurs in a second layer of the network model, and the first layer is higher than the second layer in the network model; and wherein the IP packet level trigger is executed by a packet processor to perform the at least one low level network event; the compiler operative to accept input of the source code program, and comprising: a compiler processor; and a non-transitory computer-readable medium storing a packet level trigger compiler located with the compiler processor, wherein the packet level trigger compiler is operative to output an IP packet level trigger; and wherein the packet level trigger compiler is operative to accept inputs of: an application level constraint identifying the high level event; a transfer syntax encoding, describing the type of data supplied to the compiler; an abstract syntax notation describing the structure of the transfer syntax encoding; and a message sequence, indicating the protocol for interaction between a client computer and a server computer over the network; and wherein the packet level trigger compiler is operative to: perform lexical and syntactical analysis on the source code; generate preliminary code for the IP packet level trigger; optimize the preliminary code by evaluating parameters of the packet processor; and generate and output final code for the IP packet level trigger for execution by the packet processor. 6. The compiler of claim 1 , wherein the protocol for interaction between a client computer and a server computer is a File Transfer Protocol (FTP).