biz.neustar.wpm.api
Interface WebSocketMessage


public interface WebSocketMessage

A single message transferred over a WebSocket connection.


Nested Class Summary
static class WebSocketMessage.Direction
           
static class WebSocketMessage.Type
           
 
Method Summary
 java.util.Date getAtDateTime()
           
 java.lang.String getContentMimeType()
          Either "application/octet-stream" or "text/plain"
 int getContentSize()
           
 WebSocketMessage.Direction getDirection()
           
 WebSocketMessage.Type getType()
           
 

Method Detail

getType

WebSocketMessage.Type getType()

getDirection

WebSocketMessage.Direction getDirection()

getAtDateTime

java.util.Date getAtDateTime()

getContentSize

int getContentSize()

getContentMimeType

java.lang.String getContentMimeType()
Either "application/octet-stream" or "text/plain"

Returns:
the content mime

Copyright © 2014 Neustar, Inc. All Rights Reserved.