|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.mina.common.IoHandlerAdapter com.poscoict.glueframework.scheduling.server.GlueServerHandler
public class GlueServerHandler
GlueSchedulerHttpServer°¡ ¹ÞÀº Request Á¤º¸¸¦ ±â¹ÝÀ¸·Î JobÀ» ó¸®ÇÏ´Â Çڵ鷯 Ŭ·¡½º.
Field Summary | |
---|---|
static int |
DEFAULT_IDLE_TIME
µðÆúÆ® ¼¼¼Ç Idle ½Ã°£ (´ÜÀ§, ÃÊ) |
protected static String |
PARAM_HEADER
Job Parameter Header |
Constructor Summary | |
---|---|
GlueServerHandler()
|
|
GlueServerHandler(GlueJobEventReceiver jobEventReceiver)
|
Method Summary | |
---|---|
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 ¸Þ¼Òµå. |
Methods inherited from class org.apache.mina.common.IoHandlerAdapter |
---|
messageSent, sessionClosed, sessionCreated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_IDLE_TIME
protected static final String PARAM_HEADER
Constructor Detail |
---|
public GlueServerHandler()
public GlueServerHandler(GlueJobEventReceiver jobEventReceiver)
Method Detail |
---|
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
- GlueHttpRequestMessage
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |