Type Definitions
- 
    Address
- 
    
    
    
        Type:- Object
 - Source:
 Properties:Name Type Description ipaddressstring The IP address portnumber The port for this address 
- 
    BodyHandler(buffer)
- 
    
    
    
    
    
    
    
    
    
        Parameters:Name Type Description buffermodule:vertx/buffer~Buffer A Buffer object containing the body of the message - Source:
 
- 
    ConnectHandler(netSocket)
- 
    
    
    
    
    
    
    
    
    
        Parameters:Name Type Description netSocketmodule:vertx/net.NetSocket The raw socket - Source:
 
- 
    DeploymentId
- 
    
    A DeploymentId is used to identify a specific verticle deployment.Type:- string
 - Source:
- See:
 
- 
    FileProps
- 
    
    
    
        Type:- Object
 - Source:
 Properties:Name Type Description creationTimedate The date the file was created lastAccessTimedate The date the file was last accessed lastModifiedTimedate The date the file was last modified isDirectoryboolean is the file a directory? isOtherboolean Is the file some other type? I.e. not a directory, regular file or symbolic link isRegularFileboolean is the file a regular file? isSymbolicLinkboolean is the file a symlink? sizenumber the size of the file in bytes 
- 
    FileSystemProps
- 
    
    
    
        Type:- Object
 - Source:
 Properties:Name Type Description totalSpacenumber The total space on the file system, in bytes unallocatedSpacenumber The total unallocated space on the file syste, in bytes usableSpacenumber The total usable space on the file system, in bytes 
- 
    Flag
- 
    
    Flags used when opening files working with the vert.xFileSystemType:- number
 - Source:
 
- 
    Handler()
- 
    
    
    Vert.x makes heavy use of callback handlers in the API. A basic handler is simply a function that is called when vert.x events are fired, and expects no parameters.- Source:
- See:
 
- 
    ListenHandler()
- 
    
    
    AListenHandleris aHandlerthat is notified when a call tomodule:vertx/net.NetServer#listenhas been initiated and the underlying socket has been bound.- Source:
 
- 
    Message
- 
    
    While JSON is the preferred messaging on the event bus, you can send any basic type as a message, for example,string,boolean, etc. can all be passed directly intomodule:vertx/event_bus.send. You may also sendmodule:vertx/buffer~Buffers and plain old Javascript objects. Objects will be converted toJSONbefore being placed on the bus.Type:- string | boolean | number | Object | JSON | module:vertx/buffer~Buffer
 - Source:
- See:
 
- 
    MessageHandler(message)
- 
    
    
    AMessageHandleris aHandlerthat responds to messages on themodule:vertx/event_busmodule.MessageHandlers are called with aMessageobject as the parameter.Parameters:Name Type Description messageMessage The message - Source:
- See:
 
- 
    MxRecord
- 
    
    Represents a DNS MX record.Type:- Object
 - Source:
 Properties:Name Type Description prioritynumber The record priority namestring The record name 
- 
    PacketHandler(datagramPacket)
- 
    
    
    
    
    
    
    
    
    
        Parameters:Name Type Description datagramPacketmodule:vertx/datagram.DatagramPacket The received packet - Source:
 
- 
    RequestHandler(request)
- 
    
    
    ARequestHandleris aHandlerthat responds to notifications from objects in thevertx/httpmodule and expects anHttpServerRequestobject as its parameter.Parameters:Name Type Description requestmessage The incoming message Examplevar http = require('vertx/http'); var server = http.createHttpServer(); server.requestHandler( function( request ) { // This function is executed for each // request event on our server } );
- 
    ResponseHandler(response)
- 
    
    
    
    
    
    
    
    
    
        Parameters:Name Type Description responsemodule:vertx/http.HttpClientResponse The HTTP client response - Source:
 
- 
    ResultHandler(cause, result)
- 
    
    
    File system operations are handled asynchronously. The result of the operations are given to aResultHandler. TheResultHandleris just aHandlerthat accepts two parameters: 1) an exception object if an error occurred; and 2) the result of the operation, the type of which is determined by the firing event.Parameters:Name Type Description causeException This will be nullif the operation succeededresultObject The result of the operation event this handler cares about - Source:
 
- 
    SockJSHandler(sockJSSocket)
- 
    
    
    ASockJSHandleris aHandlerthat is called when new SockJSSockets are created. It takes a {module:vertx/sockjs.SockJSSocket} as its only parameter.Parameters:Name Type Description sockJSSocketmodule:vertx/sockjs.SockJSSocket The socket object - Source:
 
- 
    SrvRecord
- 
    
    Represents a DNS SRV recordType:- Object
 - Source:
 Properties:Name Type Description prioritynumber The record priority weightnumber The record weight portnumber The record port namestring The record name protocolstring The record protocol servicestring The record service targetstring The record target 
- 
    TimerId
- 
    
    A TimerId is just a number that identifies a given timer.Type:- number
 - Source:
- See:
 
- 
    UploadHandler(upload)
- 
    
    
    AnUploadHandleris aHandlerthat accepts aHttpServerFileUploadobject as it's parameter. This allows server code to handle and process uploaded files from HTTP clients.Parameters:Name Type Description uploadmodule:vertx/http.HttpServerFileUpload The file being uploaded - Source:
 
- 
    WebSocketHandler(websocket)
- 
    
    
    
    
    
    
    
    
    
        Parameters:Name Type Description websocketmodule:vertx/http.WebSocket the active WebSocket- Source: