|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
public abstract class RemoteServer
RemoteServer
´Â
¼¹öÀÇ ±¸Çö¿¡ ´ëÇÑ °øÅëÀÇ ½´ÆÛ Ŭ·¡½ºÀ̸ç, ±¤¹üÀ§ÀÇ ¸®¸ðÆ® ÂüÁ¶ ½Ã¸àƽ½º¸¦ Áö¿øÇϴ üÁ¦¸¦ Á¦°øÇÕ´Ï´Ù. ƯÈ÷, ¸®¸ðÆ® °´Ã¼¸¦ ÀÛ¼º, export ÇÏ´Â (Áï, ¸®¸ðÆ®·Î »ç¿ë °¡´ÉÇÏ°Ô ÇÑ´Ù) °Í¿¡ ÇÊ¿äÇÑ ±â´ÉÀÌ RemoteServer
¿¡ ÀÇÇØ Ãß»óÀûÀ¸·Î ¶Ç ±× ¼ºê Ŭ·¡½º (º¹¼öµµ °¡´É)¿¡ ÀÇÇØ ±¸Ã¼ÀûÀ¸·Î Á¦°øµË´Ï´Ù.
ÇÊµå °³¿ä |
---|
Ŭ·¡½º java.rmi.server. RemoteObject ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå |
---|
ref |
»ý¼ºÀÚ °³¿ä | |
---|---|
protected |
RemoteServer ()
RemoteServer ¸¦ ±¸ÃàÇÕ´Ï´Ù. |
protected |
RemoteServer (RemoteRef ref)
ÂüÁ¶ÇüÀ» ÁöÁ¤ÇØ RemoteServer ¸¦ ±¸ÃàÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
static String |
getClientHost ()
ÇöÀçÀÇ thread·Î 󸮵ǰí ÀÖ´Â ¸®¸ðÆ® ¸Þ¼µå È£ÃâÀÇ Å¬¶óÀÌ¾ðÆ® È£½ºÆ®¸¦ ³ªÅ¸³»´Â ij¸¯ÅÍ ¶óÀΠǥÇöÀ» ¸®ÅÏÇÕ´Ï´Ù. |
static PrintStream |
getLog ()
RMI È£Ã⠷α×ÀÇ ½ºÆ®¸²À» ¸®ÅÏÇÕ´Ï´Ù. |
static void |
setLog (OutputStream out)
Ãâ·Â ½ºÆ®¸² out ¿¡ RMI È£ÃâÀÇ ·Î±×¸¦ ±â·ÏÇÕ´Ï´Ù. |
Ŭ·¡½º java.rmi.server. RemoteObject ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
equals,
getRef,
hashCode,
toString,
toStub |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
»ý¼ºÀÚ »ó¼¼ |
---|
protected RemoteServer()
RemoteServer
¸¦ ±¸ÃàÇÕ´Ï´Ù.
protected RemoteServer(RemoteRef ref)
RemoteServer
¸¦ ±¸ÃàÇÕ´Ï´Ù.
ref
- ¸®¸ðÆ® ÂüÁ¶¸Þ¼µåÀÇ »ó¼¼ |
---|
public static String getClientHost() throws ServerNotActiveException
ServerNotActiveException
- ÇöÀçÀÇ thread·Î ¸®¸ðÆ® ¸Þ¼µå È£ÃâÀÌ Ã³¸®µÇ¾î ÀÖÁö ¾ÊÀº °æ¿ìpublic static void setLog(OutputStream out)
out
¿¡ RMI È£ÃâÀÇ ·Î±×¸¦ ±â·ÏÇÕ´Ï´Ù. out
ÀÌ null
ÀÎ °æ¿ì¿¡´Â È£ÃâÀÇ ·Î±× ÃëµæÀº ¿ÀÇÁ·Î µË´Ï´Ù.
½ÃÅ¥·¯Æ¼ ¸Å´ÏÀú°¡ Á¸ÀçÇÏ´Â °æ¿ì, java.util.logging.LoggingPermission("control")
Á¢±Ù ±ÇÇÑÀ» ÁöÁ¤ÇØ ±× checkPermission
¸Þ¼µå°¡ È£ÃâµË´Ï´Ù. ÀÌ ¶§, SecurityException
°¡ Throw µÉ °¡´É¼ºÀÌ ÀÖ½À´Ï´Ù.
out
- RMI È£ÃâÀÇ ·Î±×¸¦ ±â·ÏÇÏ´Â Ãâ·Â ½ºÆ®¸²
SecurityException
- ½ÃÅ¥·¯Æ¼ ¸Å´ÏÀú°¡ Á¸ÀçÇÏ´Â °æ¿ì¿¡
±× checkPermission
¸Þ¼µå È£ÃâÇØ¿¡ ½ÇÆÐÇßÀ» ¶§getLog()
public static PrintStream getLog()
setLog(java.io.OutputStream)
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.