|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bmc.mainview.nvbapi.HostServer
com.bmc.mainview.nvbapi.LiveServer
public class LiveServer
Creates a session with an MVI-3 Host Server
Field Summary |
---|
Fields inherited from class com.bmc.mainview.nvbapi.HostServer |
---|
connectTime, HOSTFORMAT, timeDelta, VERSION |
Constructor Summary | |
---|---|
LiveServer(java.lang.Object logger,
java.lang.String hostName,
java.lang.String hostAddress,
int hostPort,
java.lang.String user,
java.lang.String pass,
ConversationListener capture)
Creates a session with the mainframe |
|
LiveServer(java.lang.Object logger,
java.lang.String hostName,
java.lang.String hostAddress,
int hostPort,
java.lang.String user,
java.lang.String pass,
java.lang.String newPassword,
ConversationListener capture)
|
Method Summary | |
---|---|
XML |
connect()
Uses the current settings to create a session with the host server. |
Conversation |
conversationFactory()
Creates a new conversation using this host session |
Conversation |
conversationFactory(java.lang.String monitorID)
Creates a new conversation using this host session |
void |
disconnect()
Ends the session |
void |
refreshSession()
If the host server is restarted, our session ID can become invalid. |
void |
sendKeepAlive()
|
Methods inherited from class com.bmc.mainview.nvbapi.HostServer |
---|
getAddr, getCanonicalHostName, getHostLvl, getName, getPassword, getPort, getTimeout, getUserID, isConnected, isFunctional, loadTargets, loadTargets, setName, setNewPassword, setPassword, setTimeout, setUserID, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LiveServer(java.lang.Object logger, java.lang.String hostName, java.lang.String hostAddress, int hostPort, java.lang.String user, java.lang.String pass, ConversationListener capture)
logger
- A logger to receive trace information for debugging.
It may be either a SLF4J Logger or a JDK1.4 Logger.hostName
- The name which is used to refer to this particular session in log entrieshostAddress
- The IP address of the mainframe.hostPort
- The port number on which the MVI Host Server is runninguser
- A z/OS user IDpass
- The corresponding passwordcapture
- A ConversationListener to be added to all conversaionspublic LiveServer(java.lang.Object logger, java.lang.String hostName, java.lang.String hostAddress, int hostPort, java.lang.String user, java.lang.String pass, java.lang.String newPassword, ConversationListener capture)
Method Detail |
---|
public XML connect() throws java.io.IOException
connect
in class HostServer
java.io.IOException
HostServer.disconnect()
public void refreshSession() throws java.io.IOException
java.io.IOException
public Conversation conversationFactory() throws java.io.IOException
conversationFactory
in class HostServer
java.io.IOException
disconnect()
public Conversation conversationFactory(java.lang.String monitorID) throws java.io.IOException
HostServer
conversationFactory
in class HostServer
monitorID
- the related monitor ID
java.io.IOException
public void disconnect()
disconnect
in class HostServer
public void sendKeepAlive()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |