Handler

+ boolean process(Context, Message)

Server Architecture

Context

 

+ getApiVersion()

+ getApiId()

+ getCorrelationId()

+ getMetadata()

+ getConnection()

+ getRequest()

+ getResponse()

+ getException()

+ getApiInvoker()

+ getRequestStartTime()

+ setResponseMetadata()

 

Message

 

 

Connection

 

readBytes()

sendBytes()

readBytes(int n)

Request

Attribute

+ getRespone()

+ setStats()

+ getApiInvoker()

+ getAuthObject()

+ getEntryEvent()

 

Response

Attribute

+ getAuthObject()

+ setStats()

Exception

Attribute

+ getErrorCode()

+ setStats()

+ getExceptionMessage()

ApiInvoker

Attribute

 

ResponseSender

Attribute

sendResponse(Object resposne, boolean ispartial)

SyncApiInvoker

 

+ object invoke()

AsyncApiInvoker

 

+invoke(ResponseSender)

GetRequest

Attribute

Method

PutRequest

Attribute

Method

GetAllRequest

Attribute

Method

PutAllRequest

Attribute

Method

GetResponse

Attribute

Method

PutResponse

Attribute

Method

GetAllResponse

Attribute

Method

PutAllResponse

Attribute

Method