android.net
Class LocalSocket
java.lang.Object
android.net.LocalSocket
public class LocalSocket
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LocalSocket
public LocalSocket()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
connect
public void connect(LocalSocketAddress endpoint)
throws java.io.IOException
- Throws:
java.io.IOException
bind
public void bind(LocalSocketAddress bindpoint)
throws java.io.IOException
- Throws:
java.io.IOException
getLocalSocketAddress
public LocalSocketAddress getLocalSocketAddress()
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
- Throws:
java.io.IOException
getOutputStream
public java.io.OutputStream getOutputStream()
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
shutdownInput
public void shutdownInput()
throws java.io.IOException
- Throws:
java.io.IOException
shutdownOutput
public void shutdownOutput()
throws java.io.IOException
- Throws:
java.io.IOException
setReceiveBufferSize
public void setReceiveBufferSize(int size)
throws java.io.IOException
- Throws:
java.io.IOException
getReceiveBufferSize
public int getReceiveBufferSize()
throws java.io.IOException
- Throws:
java.io.IOException
setSoTimeout
public void setSoTimeout(int n)
throws java.io.IOException
- Throws:
java.io.IOException
getSoTimeout
public int getSoTimeout()
throws java.io.IOException
- Throws:
java.io.IOException
setSendBufferSize
public void setSendBufferSize(int n)
throws java.io.IOException
- Throws:
java.io.IOException
getSendBufferSize
public int getSendBufferSize()
throws java.io.IOException
- Throws:
java.io.IOException
getRemoteSocketAddress
public LocalSocketAddress getRemoteSocketAddress()
isConnected
public boolean isConnected()
isClosed
public boolean isClosed()
isBound
public boolean isBound()
isOutputShutdown
public boolean isOutputShutdown()
isInputShutdown
public boolean isInputShutdown()
connect
public void connect(LocalSocketAddress endpoint,
int timeout)
throws java.io.IOException
- Throws:
java.io.IOException
setFileDescriptorsForSend
public void setFileDescriptorsForSend(java.io.FileDescriptor[] fds)
getAncillaryFileDescriptors
public java.io.FileDescriptor[] getAncillaryFileDescriptors()
throws java.io.IOException
- Throws:
java.io.IOException
getPeerCredentials
public Credentials getPeerCredentials()
throws java.io.IOException
- Throws:
java.io.IOException
getFileDescriptor
public java.io.FileDescriptor getFileDescriptor()
Copyright © 2008-2010. All Rights Reserved.