public class GlueServerHandler
extends org.apache.mina.common.IoHandlerAdapter
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_IDLE_TIME
µðÆúÆ® ¼¼¼Ç Idle ½Ã°£ (´ÜÀ§, ÃÊ)
|
protected static String |
PARAM_HEADER
Job Parameter Header
|
Constructor and Description |
---|
GlueServerHandler() |
GlueServerHandler(GlueJobEventReceiver jobEventReceiver) |
Modifier and Type | Method and Description |
---|---|
protected GlueJobDefinition |
createJobDefinition(GlueHttpRequestMessage message)
GlueHttpRequestMessage·ÎºÎÅÍ Job DefinitionÀ» »ý¼ºÇÑ´Ù. - JobName, RequestId, ClientIp - Job Parameters Á¤º¸ ¼³Á¤
|
void |
exceptionCaught(org.apache.mina.common.IoSession session,
Throwable cause) |
void |
messageReceived(org.apache.mina.common.IoSession session,
Object message)
GlueGlueSchedulerHttpServer°¡ ¸Þ½ÃÁö(HttpRequest)¸¦ ¹ÞÀ» ¶§ È£ÃâµÇ´Â callback ¸Þ¼Òµå.
|
void |
sessionIdle(org.apache.mina.common.IoSession session,
org.apache.mina.common.IdleStatus status) |
void |
sessionOpened(org.apache.mina.common.IoSession session)
¼¼¼Ç ¿ÀÇ ½Ã callback ¸Þ¼Òµå.
|
public static final int DEFAULT_IDLE_TIME
protected static final String PARAM_HEADER
public GlueServerHandler()
public GlueServerHandler(GlueJobEventReceiver jobEventReceiver)
public void sessionOpened(org.apache.mina.common.IoSession session)
sessionOpened
in interface org.apache.mina.common.IoHandler
sessionOpened
in class org.apache.mina.common.IoHandlerAdapter
session
- IoSessionprotected GlueJobDefinition createJobDefinition(GlueHttpRequestMessage message)
message
- GlueHttpRequestMessagepublic void messageReceived(org.apache.mina.common.IoSession session, Object message)
messageReceived
in interface org.apache.mina.common.IoHandler
messageReceived
in class org.apache.mina.common.IoHandlerAdapter
session
- IoSessionmessage
- GlueHttpRequestMessagepublic void sessionIdle(org.apache.mina.common.IoSession session, org.apache.mina.common.IdleStatus status)
sessionIdle
in interface org.apache.mina.common.IoHandler
sessionIdle
in class org.apache.mina.common.IoHandlerAdapter
public void exceptionCaught(org.apache.mina.common.IoSession session, Throwable cause)
exceptionCaught
in interface org.apache.mina.common.IoHandler
exceptionCaught
in class org.apache.mina.common.IoHandlerAdapter
Copyright © 2013–2020 POSCO ICT. All rights reserved.